Skip to content

Commit 0045e82

Browse files
authored
Merge pull request #8669 from nextcloud/8218_13
[stable13] Display the proper language strings in setttings
2 parents 655e39f + 19ded76 commit 0045e82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Settings/Personal/PersonalInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private function getLanguages(IUser $user) {
205205
$languages = [];
206206

207207
foreach($languageCodes as $lang) {
208-
$l = \OC::$server->getL10N('settings', $lang);
208+
$l = \OC::$server->getL10N('lib', $lang);
209209
// TRANSLATORS this is the language name for the language switcher in the personal settings and should be the localized version
210210
$potentialName = (string) $l->t('__language_name__');
211211
if($l->getLanguageCode() === $lang && substr($potentialName, 0, 1) !== '_') {//first check if the language name is in the translation file

0 commit comments

Comments
 (0)