Skip to content

Commit

Permalink
Fixed issue #14726: LanguageSelector national language
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jul 1, 2021
1 parent ed5dbe8 commit 4f482e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/frontend_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function getLanguageChangerDatas($sSelectedLanguage = "")

$aListLang = array();
foreach ($aSurveyLangs as $sLangCode => $aSurveyLang) {
$aListLang[$sLangCode] = html_entity_decode($aSurveyLang['nativedescription'], ENT_COMPAT, 'UTF-8');
$aListLang[$sLangCode] = html_entity_decode($aSurveyLang['nativedescription'], ENT_COMPAT, 'UTF-8') . ' - ' . $aSurveyLang['description'];
}

$sSelected = ($sSelectedLanguage) ? $sSelectedLanguage : App()->language;
Expand Down

0 comments on commit 4f482e8

Please sign in to comment.