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.
Comment | File | Size | Author |
---|---|---|---|
sync-languages.patch | 2.41 KB | Gábor Hojtsy | |
Comments
Comment #1
Wim LeersDoes this then also need to be backported to Drupal 7?
Comment #2
Gábor HojtsySome 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.
Comment #3
webchickWell 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.
Comment #4
Wim Leers.