Problem/Motivation

ConfigurableLanguageManager::getUnusedPredefinedList() should return languages ordered by name instead of language code.

This function will return languages names in the current interface language, so no need to worry about different character sets.

Proposed resolution

ConfigurableLanguageManager::getUnusedPredefinedList() should return languages ordered by name instead of language code.

Remaining tasks

Create a patch after #2254495: Move language_admin_predefined_list to ConfigurableLanguageManager lands.

User interface changes

Language will be displayed ordered by language name.

API changes

None.

Comments

blueminds’s picture

Status: Postponed » Needs review

It looks like the referenced issue already addressed the ordering. If so, this is no more relevant.

penyaskito’s picture

Really? I cannot find that. Could you point to it?

pwolanin’s picture

Status: Needs review » Active

patch?

duellj’s picture

Status: Active » Closed (duplicate)

ConfigurableLanguageManager::getUnusedPredefinedList() has been renamed to ConfigurableLanguageManager::getStandardLanguageListWithoutConfigured() in #2254495: Move language_admin_predefined_list to ConfigurableLanguageManager, and it already does sorting by value (language name): http://cgit.drupalcode.org/drupal/tree/core/modules/language/src/Configu...