-
Bug
-
Resolution: Fixed
-
Low
-
6.2.13
-
None
-
Empty show more show less
-
DevX 2, DevX 3
-
5
Steps to reproduce
- Create a site definition that supports English (en) as default and Welsh (cy) as a secondary language.
- Use the message bundles to translate a label within a Freemarker template.
- eg. You will have message bundles my-module-messages_en.properties and my-module-messages_cy.properties and will use the template as documented.
Expected results
When switching between requested languages, the translated label will change from English to Welsh.
Actual results
The Welsh translation appears everywhere, never the English.
Workaround
TBC
Development notes
The DefaultMessageBundlesLoader is, via the LocaleUtils, using the default locales available from the JVM.
Acceptance criteria
- relates to
-
MGNLREST-730 Only JVM default locales are checked on REST requests
- Closed
-
MAGNOLIA-8709 Allow use of IETF Language Tags
- Closed