LImesurver not respecting the language selection

More
3 years 3 months ago #112424 by dleger
dleger created the topic: LImesurver not respecting the language selection
After I enter a token on the french page, it goes to english. I have the language switcher to change it, but is there a way I can ensure it won't get changed automatically and respect the selection I made previously?

Please Log in to join the conversation.

More
3 years 3 months ago #112426 by holch
holch replied the topic: LImesurver not respecting the language selection
Did you set a language for the token? You can give each respondent the right language.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 3 months ago #112427 by dleger
dleger replied the topic: LImesurver not respecting the language selection
I actually removed the language preference from the database. because many of the surveys dont have a person attached to it from the get go. We use tokens because we dont want it wide open.

So I can't use the language field.

Please Log in to join the conversation.

More
3 years 3 months ago #112439 by tpartner
tpartner replied the topic: LImesurver not respecting the language selection
What version are you using?

In the latest version I find that the survey does start in the language selected in the token-entry screen.


.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 years 3 months ago #112449 by dleger
dleger replied the topic: LImesurver not respecting the language selection
1.95... I've tried upgrading, but was having issues with my ISP's php... Even thought I had the right php, it kept saying I needed to upgrade the php.

Please Log in to join the conversation.

More
3 years 3 months ago #112453 by tpartner
tpartner replied the topic: LImesurver not respecting the language selection
Try adding this to the end of template.js:

$(document).ready(function() {
	$('form#tokenform').submit(function(){
		$('form#tokenform input#lang').val($('select.languagechanger').val());
	});
});

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!