i18n Enterprise: International Messages
International Messages
The i18n Enterprise module gives you the ability to add database-backed message sources that can be managed in the Admin.
An extension handler for the BroadleafMergeResourceBundleMessageSource
is defined and will be added to the manager when
successfully component scanned (done by default if including the necessary application context files for this module).
Once this handler is registered, the BroadleafMergeResourceBundleMessageSource
will first try to resolve the
passed in java.util.Locale
from the database (cache) if available. The same algorithm used to determine default resource
bundles also applies. For example, if you passed in the Locale: "de_AT_oo". It would first check "de_AT_oo", then "de_AT",
and finally "de". If those don't exist, it will then delegate to the normal resolution process and check the properties
files defined by the resource bundles.