Closed jomu78 closed 5 years ago
Hi @jomu78,
I think we can add admin_en_US as it is the language in admin.properties.
For locales not supported by admin-template, e.g en_GB, users must add the file on their application as well override supported locales in faces-config.
What do you think?
Hi @rmpestano That is ok for me .
Don't you to extend the faces-config.xml?
<supported-locale>en_US</supported-locale>
And by accident I added file faces-config.NavData with commit a2dc37f which should not be required (Netbeans autogenerated file)
Hi, just added the supported locale, thank you very much!
The browser is running on main language en_US and has de_DE as fallback alternative in available. System is running on German (Windows). Expected behaviour would be admin-template language is English but it is German. Tested with Chrome and Firefox, running 1.0.0-RC22-SNAPSHOT.
Idea for the reason why: The supported language in faces-config.xml lists en and de_DE. Browser primary language en_US is not matched, so fallback language de_DE is first match and language is selected. (When I run the browser and Wildfly on Ubuntu correct language en_US is selected. )
Possible solutions