Skip to content

Commit

Permalink
Fixes 32012 - read the correct translations
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Jul 9, 2018
1 parent 616e1ea commit b669a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Helper/LocaleHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function getNormalizedLanguages(IFactory $langFactory, $activeLangCode) {

$availableCodes = $langFactory->findAvailableLanguages();
foreach ($availableCodes as $languageCode) {
$l = $langFactory->get('settings', $languageCode);
$l = $langFactory->get('lib', $languageCode);

// TRANSLATORS this is a self-name of your language for the language switcher
$endonym = (string)$l->t('__language_name__');
Expand Down

0 comments on commit b669a73

Please sign in to comment.