Error in Italian localization for datepicker:

by Francesco Marchetti-Stasi   Last Updated September 14, 2018 16:07 PM

Well, this is very funny :)

I have a datepicker localized in Italian. It works correctly, except for one small glitch:

screenshot from datepicker, illustrating the error in translation

Apparently, the abbreviation for Wednesday, was translated as a word, since "noi" is the Italian translation for the pronoun "we"...

The abbreviation for Wednesday is correctly set in core/assets/vendor/jquery.ui/ui/i18n/datepicker-it.js, but this file is not inserted in the HTML, so I suppose the translation is taken somewhere else.

In my libraries dependencies I have

dependencies:
  - core/jquery
  - core/jquery.once
  - core/jquery.ui.datepicker
  - core/drupal.locale.datepicker

and without the last line the datepicker is in English.

Am I doing something wrong?...

Tags : 8 i18n-l10n


Related Questions


Keep node/user tabs in one language

Updated May 16, 2016 08:03 AM

How do I include a custom module translation?

Updated June 28, 2016 08:03 AM

Adding an existing node as a translation

Updated August 09, 2016 08:03 AM

Drupal 8: make Taxonomy terms translatable

Updated August 16, 2016 08:04 AM

How to show 404 page for nodes without translation?

Updated September 01, 2016 08:04 AM