2-letter locales cannot be used (ar, id, ja, ko, lv, nb, pt)
Description
To be able to use a locale in FusionDirectory, you need to activate it in the server OS. On Debian that is with dpkg-reconfigure locales
But "ar" does not exist in this list, there are only ar_* variations. So the ar locale of FusionDirectory cannot be used and falls back to english (or automatic? unclear).
Distribution Name and Version
Debian
Steps to Reproduce
- Choose Arabic language in configuration
- Log out and in
Expected behavior:
Should be in arabic with lots of english for non-translated part.
Actual behavior:
Seems to be in the language the browser requests, despite saying «DEBUG[1] (/usr/share/fusiondirectory/include/functions.inc:initLanguage():2594) - Setting language to: 'ar.UTF-8'» Some parts are in english and some in french in my case, not sure why.
Additional Information
I guess Arabic should also be flagged as RTL, no? It’s not.