Details
-
Task
-
Resolution: Not an issue
-
Major
-
None
-
3.0.2
-
None
-
None
-
Magnolia 5.3
-
-
Empty show more show less
-
Empty show more show less
Description
The Documentation (https://documentation.magnolia-cms.com/display/DOCS/Blossom+module) says that I have to set the @I18nBasename with "the resource bundle you want to use". But it is unclear what value I have to set. Should it match the module name, the module package, artifactID + groupdID, the messages_locale.properties file name or something else? And do the keys in the properties file have to match with a special convention or can i use whatever key i want?
Other sources say, that the "Basename" in general is deprecated (http://magnolia.namics.com/2013/12/20/i18n-in-magnolia-5/), but removing the @I18nBasename will lead to a "i18n is undefined"-error in the freemarker-templates.
Also, explain in the documentation how to use i18n in the java-code of a blossom-component or page.