Latest localization fix/update only sets "locale" property to for either EN or FR.
Investigate duet date picker library's use of the locale property and get Drupal to set it for other locales.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

classiccut created an issue. See original summary.

bbu23’s picture

Assigned: Unassigned » bbu23

bbu23’s picture

Assigned: bbu23 » Unassigned
Status: Active » Needs review

The en-GB and fr-FR are currently hardcoded in the locales javascript. My proposed solution is to simply use the short language code (en, fr etc.) instead of the specific version of the language code, which works well.

We could evolve this in a separate ticket to allow for specific language code as well if needed, but the current implementation should be fixed by simply providing the current language, no need to add en-GB or fr-FR in the javascript file.

Though I must say that the latest version (1.0.0-beta5) works well with ES and EU languages in its current form, probably because of all the t()'s.