Make WordPress Core

Opened 2 years ago

Last modified 7 months ago

#19760 new enhancement

Allow localization of language names in multisite

Reported by: pavelevap Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3.1
Component: I18N Keywords:
Focuses: Cc:


There is Site Language settings in multisite (General Options). But all available languages are in English, so there is English, Czech, etc. But when I switch to Czech language, there is still only Czech and not "Čeština". I am not sure if there is need to translate all languages, but there should be localized at least selected language (or all available languages).

It is caused by function format_code_lang() in ms.php (line 463) where are all language names hardcoded in English.

Change History (5)

comment:1 vanillalounge23 months ago

This may warrant a separate ticket, but it seems that the list is hardcoded, with a set of locales which is partly out of date (example: no value for Brazilian Portuguese, pt_BR)

comment:4 knutsp17 months ago

  • Cc knut@… added

comment:5 iandunn7 months ago

  • Cc ian.dunn@… added
Note: See TracTickets for help on using tickets.