You can force the locale by removing other locales support. This is done in the deployment-fragment.xml file of your plugin.
Since 5.4.3:
"Sample extract of deployment-fragment.xml replacing other bundles' contributions to faces-config.xml"
The mode="replace" attribute will replace all the previously contributed <extension target="faces-config#APPLICATION_LOCALE">.
So you have to carefully make your plugin being deployed after any other bundle contributing a locale-config. In the above sample, this is ensured by the "require" parameter.
| This configuration applies on JSF pages and will not change the default locale on the login page which only depends on the browser configuration. |
Before 5.4.3:
"Sample extract of deployment-fragment.xml replacing other bundles' contributions to faces-config.xml"
Labels:
None