Closed nuria2c closed 3 weeks ago
Related issue on flatpickr side: https://github.com/flatpickr/flatpickr/issues/3043
It should be possible to fix it on our side by adding a specific copy rule in the webpack configuration.
@nuria2c I changed the file cat.js to ca.js, (also I changed all internal figures that were cat into ca) but there is no file with name cat.min.js in my website. I refreshed and purged the website but browser continues showing me in English. What's missing?
Code of Conduct
Is there an existing issue for this?
Version
10.0.16
Bug description
The flatpickr doesn't detect the catalan language
The locale for catalan language is "ca" NOT "cat" and in the "/glpi/public/lib/flatpickr/l10n" the JS files for catalan are "cat.min.js" and "cat.js".
when we change these files name for "ca.min.js" and "ca.js" works well.
We knoe that filepicker is an external library. We will notify also the bug to them, but if you can solve it directly in GLPI it will be perfect
Relevant log output
No response
Page URL
No response
Steps To reproduce
Your GLPI setup information
GLPI 10.0.16 ( => /var/www/html/glpi) Installation mode: TARBALL Current language:ca_ES
Anything else?
No response