View | Details | Raw Unified | Return to bug 35582
Collapse All | Expand All

(-)a/C4/Languages.pm (-4 / +3 lines)
Lines 227-236 sub getLanguages { Link Here
227
227
228
            # fill in the ISO6329 code
228
            # fill in the ISO6329 code
229
            $language_subtag_registry->{iso639_2_code} = $language_descriptions->{iso639_2_code};
229
            $language_subtag_registry->{iso639_2_code} = $language_descriptions->{iso639_2_code};
230
            # fill in the native description of the language, as well as the current language's translation of that if it exists
230
            # fill in the current selected ui language's translation, as well as the native description of the language
231
            if ($native_description) {
231
            if ($native_description) {
232
                $language_subtag_registry->{language_description} = $native_description;
232
                $language_subtag_registry->{language_description} = $language_descriptions->{description} if $language_descriptions->{description};
233
                $language_subtag_registry->{language_description}.=" ($language_descriptions->{description})" if $language_descriptions->{description};
233
                $language_subtag_registry->{language_description}.=" ($native_description)";
234
            }
234
            }
235
            else {
235
            else {
236
                $language_subtag_registry->{language_description} = $language_descriptions->{description};
236
                $language_subtag_registry->{language_description} = $language_descriptions->{description};
237
- 

Return to bug 35582