View Issue Details

IDProjectCategoryView StatusLast Update
16764Bug reportsTranslationpublic2020-10-20 17:09
Reporterictfinance Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version3.24.2 
Summary16764: Language changer in navigation bar displays some languages in the current language instead of native language
Description

For a survey with several languages (French, Dutch, German, English), the language changer in the nav bar is not working properly: languages displayed should appear in their native language: "Français", "Nederlands", "Deutsch", "English". But If current language is German, the language changer displays following values : "Deutsch", "Englisch", "Français", "Nederlands" -> Note that "English" is displayed here in German. If you switch to French, following values are displayed: "Deutsch", "Anglais", "Français", "Nederlands" -> note that "English" is displayed in French

Steps To Reproduce

1) Add new survey
2) add languages French, Dutch and German
3) add some questions
4) preview survey in German -> language changer in nav bar displays "Englisch" instead of English
5) preview survey in French -> language changer in nav bar displays "Anglais" instead of English

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 3.24.2+201020
I will donate to the project if issue is resolvedNo
Sync to Zoho Project
Browser
Database & DB-Versionmysql Ver 14.14 Distrib 5.7.31
Server OS (if known) Ubuntu 18.04.5
Webserver software & version (if known)
PHP Version7.2.24

Activities

ictfinance

ictfinance

2020-10-20 16:28

reporter   ~60315

We use the vanilla theme

ictfinance

ictfinance

2020-10-20 17:09

reporter   ~60316

in twig file /var/www/limesurvey/themes/survey/vanilla/views/subviews/navigation/language_changer_top_menu.twig language name is displayed using gT() function. This seems to translate the language name. I removed the function: gt(lang) -> lang

Issue History

Date Modified Username Field Change
2020-10-20 16:21 ictfinance New Issue
2020-10-20 16:28 ictfinance Note Added: 60315
2020-10-20 17:09 ictfinance Note Added: 60316