Opened 13 years ago
Closed 10 years ago
#19760 closed enhancement (fixed)
Allow localization of language names in multisite
Reported by: | pavelevap | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.3.1 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
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)