Opened 15 years ago
Closed 12 years ago
#19760 closed enhancement (fixed)
Allow localization of language names in multisite
| Reported by: | pavelevap | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | I18N | Version: | 3.3.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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)