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 4bd5ac7 commit 6916e32
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 @@ -185,7 +185,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 6916e32

Please sign in to comment.