-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.10
-
Component/s: Seam / JSF UI, Translations
Documentation How to Force Locale describes a way to force the language in the JSF UI but the deployment-fragment.xml part does not actually work.
I tried in Studio by contributing it under Advanced Settings > Deployment Extensions but it does not work.
I tried in a java bundle with a deployment-fragment.xml but it does not work either (even with <require>all</require> to make sure it is deployed last).
A workaround is to contribute a Locale Provider. Here is an example of such a contribution: https://github.com/vdutat/nuxeo-custom-force-locale/tree/7.10
The login.jsp part of the documentation works.