Page MenuHomePhabricator

Datepicker uses wrong language code for Serbian with Latin script
Closed, ResolvedPublic

Description

Serbian with Latin script uses in MediaWiki currently the language code sr-el. The module jquery.ui.datepicker uses the language code sr-sr for Serbian with Latin script.

https://translatewiki.net/wiki/Special:TranslationStats?uselang=sr-el shows Serbian Latin with English datepicker:

sr-el.PNG (562×661 px, 30 KB)

https://translatewiki.net/wiki/Special:TranslationStats?uselang=sr-sr shows English with Serbian Latin datepicker:

sr-sr.PNG (563×651 px, 29 KB)

Expected result: Language code sr-el should show Serbian Latin with Serbian Latin datepicker.

For changing sr-el to the BCP 47 conform language code sr-Latn see T117845: Rename the language codes sr-ec and sr-el to the BCP 47 conform codes sr-Cyrl and sr-Latn.

Event Timeline

Change 279595 had a related patch set uploaded (by Gerrit Patch Uploader):
Datepicker: Use language code sr-el for Serbian with Latin script

https://gerrit.wikimedia.org/r/279595

Change 279595 merged by jenkins-bot:
Datepicker: Use language code sr-el for Serbian with Latin script

https://gerrit.wikimedia.org/r/279595

Fomafix triaged this task as Low priority.
Fomafix removed a project: Patch-For-Review.