Needs review
Project:
Duet Date Picker
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2025 at 20:48 UTC
Updated:
26 Nov 2025 at 11:31 UTC
Jump to comment: Most recent
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.
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
Comment #2
bbu23Comment #4
bbu23The
en-GBandfr-FRare currently hardcoded in the locales javascript. My proposed solution is to simply use the short language code (en,fretc.) 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-GBorfr-FRin 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.