Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5819
Closed
Open
Issue created Apr 23, 2018 by bmortier@bmortierMaintainer

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

  1. Choose Arabic language in configuration
  2. 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.

Edited Apr 24, 2018 by bmortier
Assignee
Assign to
Time tracking