View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16764 | Bug reports | Translation | public | 2020-10-20 16:21 | 2021-01-21 14:20 |
Reporter | ictfinance | Assigned To | |||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.24.2 | ||||
Summary | 16764: 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 | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | Version 3.24.2+201020 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mysql Ver 14.14 Distrib 5.7.31 | ||||
Server OS (if known) | Ubuntu 18.04.5 | ||||
Webserver software & version (if known) | |||||
PHP Version | 7.2.24 | ||||
We use the vanilla theme |
|
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 |
|
Created a PR based on de described fix. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30801 |
|
Fixed in Release 4.3.32+201221 |
|
@cdorin, the fix only applies to the vanilla theme. Did anyone double check if the other templates are affected as well? |
|
LimeSurvey: master 1960ec4f 2020-12-14 10:56 Details Diff |
Fixed issue 16764: Language changer displays languages in current language instead of native language |
Affected Issues 16764 |
|
mod - themes/survey/vanilla/views/subviews/navigation/language_changer_top_menu.twig | Diff File | ||
LimeSurvey: master 5ccd0407 2020-12-14 19:18 Committer: GitHub Details Diff |
Fixed issue 16764: Language changer displays languages in current language instead of native language Merge pull request #1691 from digipolisgent/bug/16764 |
Affected Issues 16764 |
|
mod - themes/survey/vanilla/views/subviews/navigation/language_changer_top_menu.twig | Diff File |
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 | |
2020-12-14 10:04 | Jelle_S | Note Added: 60940 | |
2020-12-14 18:19 | ollehar | Changeset attached | => LimeSurvey master 5ccd0407 |
2020-12-14 18:19 | Jelle_S | Changeset attached | => LimeSurvey master 1960ec4f |
2020-12-14 18:19 | Jelle_S | Note Added: 60946 | |
2020-12-28 10:42 | lime_release_bot | Note Added: 61176 | |
2020-12-28 10:42 | lime_release_bot | Status | new => closed |
2020-12-28 10:42 | lime_release_bot | Resolution | open => fixed |
2021-01-21 14:20 | Mazi | Note Added: 61626 |