Skip to content

GitLab

  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5819
Closed
Open
Created Apr 23, 2018 by Côme Chilliet@cchillietReporter

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 Côme Chilliet
Assignee
Assign to
Time tracking