Extend list of languages with all languages of ICU

Created on 12 July 2013, almost 12 years ago
Updated 17 April 2025, 5 days ago

Drupal has a list of languages defined in the function getStandardLanguageList() in LanguageManager.php, based on the list of localise.drupal.org
Instead of this list, we can ship Drupal with a list of all languages defined in ICU, and filter where appropriate. This list can act as the base list for a language picker, useful for content tagging (language of parts), and adding new languages.

Possible solution

We could use the list available in the Intl component of Symfony (http://symfony.com/doc/current/components/intl.html). It uses the language list of ICU (used in Android, iOS etc). These are the languages you will get:
http://source.icu-project.org/repos/icu/icu/tags/release-50-1-2/source/d...

See also
✨ Allow filtering/configuration of which languages apply to what (UI, nodes, files, etc) Postponed: needs info

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

language system

Created by

πŸ‡³πŸ‡±Netherlands hanno

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024