Opened 17 months ago
Last modified 6 months ago
#19760 new enhancement
Allow localization of language names in multisite
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | I18N | Version: | 3.3.1 |
| Severity: | normal | Keywords: | |
| Cc: | pavelevap@…, knut@… |
Description
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.
Note: See
TracTickets for help on using
tickets.

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)