Problem

We maintain a list of languages in core for which there are translations, so users get to pick a language that Drupal can actually install in. We last synced this list in #1295696: Sync predefined list of languages with localize.drupal.org and extend native language information and then removed languages where translations were not actually available in #1904214: Installer auto-selects languages that don't have a translation, causing a requirements error. Since several languages were added and got translations. We noticed Khmer and Bahasa Malaysia missing via CKEditor language mappings in #2050097: Map CKEditor languages to Drupal languages. Others were missing when comparing the online and shipped language list.

Proposal

Add the missing languages to core. The native names were taken off of localize.drupal.org directly. This is a very easy fix. I checked and there are no other languages that are missing but have translations on localize.drupal.org at this point (checked against Drupal 7.23 translations at http://ftp.drupal.org/files/translations/7.x/drupal/). Also checked and no languages need to be removed on the grounds of no translations being available.

CommentFileSizeAuthor
sync-languages.patch2.41 KBGábor Hojtsy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Status: Needs review » Reviewed & tested by the community

Does this then also need to be backported to Drupal 7?

Gábor Hojtsy’s picture

Some may need to be added to Drupal 7. Languages are not removed from Drupal 7 based on translation status like in Drupal 8, so not all may apply.

webchick’s picture

Version: 8.x-dev » 7.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Well that seems straight-forward enough!

Committed and pushed to 8.x. Thanks!

Moving down to 7.x, because at least some of these are probably applicable there, too.

Wim Leers’s picture

Issue tags: -sprint

.

  • webchick committed cb869a0 on 8.3.x
    Issue #2063055 by Gábor Hojtsy: Sync language list with translations (...

  • webchick committed cb869a0 on 8.3.x
    Issue #2063055 by Gábor Hojtsy: Sync language list with translations (...

  • webchick committed cb869a0 on 8.4.x
    Issue #2063055 by Gábor Hojtsy: Sync language list with translations (...

  • webchick committed cb869a0 on 8.4.x
    Issue #2063055 by Gábor Hojtsy: Sync language list with translations (...