Synchronize core language list with localize.drupal.org

Created on 21 March 2023, over 1 year ago
Updated 8 May 2023, over 1 year ago

Problem/Motivation

While working on 📌 Add Hawaiian as a choice in core language selectors Fixed I discovered that the the core language selector from LanguageManager::getStandardLanguageList() (core/lib/Drupal/Core/Language/LanguageManager.php) is out of sync with the available languages on localize.drupal.org. In Slack I had asked Gabor about it and he said:

@dww I think it would be great to add the languages from your diff to Drupal core too. I don’t remember what was the original criteria but I am sure lolspeak or Simple English does not meet any reasonable level of completeness, while the exposure of the rest of the teams would be good to Drupal users.

The diff between core and l.d.o can be found at https://www.drupal.org/files/issues/2023-02-28/3336763-7.ldo-vs-D10-lang...

Steps to reproduce

Proposed resolution

Add the languages that have translation teams on localize.drupal.org to the core language selector:

  1. 0 translations
  2. br:Breton
  3. 0 translations
  4. en-gb:English, British
  5. 0 translations
  6. 0 translations
  7. 0 translations
  8. 0 translations
  9. mt:Maltese
  10. or:Odia
  11. os:Ossetian
  12. prs:Afghanistan Persian
  13. ps:Pashto
  14. pt:Portuguese, International
  15. rhg:Rohingya
  16. rm-rumgr:Rumantsch Grischun
  17. rw:Kinyarwanda
  18. 0 translations
  19. 0 translations
  20. 0 translations
  21. 0 translations
  22. 0 translations

Remaining tasks

  1. Yes, only include languages with any translation progress.
  2. https://localize.drupal.org/sites/default/files/l10n_packager/l10n_serve... is the magic list we need!
  3. Reviews / refinements.
  4. RTBC.
  5. Commit.

User interface changes

More languages in core language selector drop-downs.

API changes

None.

Data model changes

None.

Release notes snippet

TBD

📌 Task
Status

Fixed

Version

10.1

Component
Language system 

Last updated 1 day ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇺🇸United States dww

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024