spring-framework / org.springframework.context.support / StaticMessageSource / addMessage
addMessage
open fun addMessage(code: String, locale: Locale, msg: String): Unit
Associate the given message with the given code.
Parameters
code - the lookup code
locale - the locale that the message should be found within
msg - the message associated with this lookup code