Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Keeping language choice after re-login with token persistence

Keeping language choice after re-login with token persistence 3 years 3 weeks ago #97684

  • bdlemieux
  • bdlemieux's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Hello,

I have a bilingual survey (French and English) in which i tweaked to template to remove the language switch (a requirement) so it does not appear on every page after login. The language preference of the respondent is set in an introductory page using a language choice question. This works well for a respondent who does not log off the survey during completion. If the respondent logs off before completing the survey and logs back in using is token, the language resets to French (which is the base language) even if English was initially chosen. The only (tedious) way to correct this is to back track to the initial language selection question and switch again.

My question is: is there a was to make the language choice "stick" on the initial page of my questionnaire? I also import a list of respondent and even though there is no language preference set, French always comes up as the default in the token list.

Thanks in advance for any help or workaround on this topic,

Benoit
The administrator has disabled public write access.

Keeping language choice after re-login with token persistence 3 years 3 weeks ago #97685

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
Hello,

Think it take the token language. Then we have to update the token language (in an external javascript function).

But actually, the last language set are to be used in every situation. Not sure really a bug but more a feature request : please put a feature request in our tracler.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.380 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form