- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
LImesurver not respecting the language selection
- dleger
- Topic Author
- Offline
- New Member
Less
More
9 years 7 months ago #112424
by dleger
LImesurver not respecting the language selection was created by dleger
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?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11681
- Thank you received: 2748
9 years 7 months ago #112426
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic LImesurver not respecting the language selection
Did you set a language for the token? You can give each respondent the right language.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- dleger
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
9 years 7 months ago #112427
by dleger
Replied by dleger on 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.
So I can't use the language field.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
9 years 7 months ago #112439
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on 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.
.
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.
The topic has been locked.
- dleger
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
9 years 7 months ago #112449
by dleger
Replied by dleger on 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.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
9 years 7 months ago #112453
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic LImesurver not respecting the language selection
Try adding this to the end of template.js:
Code:
$(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.
The topic has been locked.