Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Survey not getting translated

  • poojadure
  • poojadure's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172682 by poojadure
Survey not getting translated was created by poojadure
Hello everyone,

I've created my survey in 6 different languages but when i'm executing the survey in any other language by default it shows it in English.

And when i append '?lang=fr' it gets translated, i'm not getting what is the issue with the translation.

How can i get language code in jquery.

Any help is appreciated, thanks.
The topic has been locked.
More
5 years 7 months ago #172686 by jelo
Replied by jelo on topic Survey not getting translated

poojadure wrote: And when i append '?lang=fr' it gets translated, i'm not getting what is the issue with the translation.


So what is the issue? You wrote that when you append ?lang=fr it gets translated?

BTW: Translating itself is not by LimeSurvey. You have entered the different languages in the textboxes labled with the languages names, haven't you?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • poojadure
  • poojadure's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172687 by poojadure
Replied by poojadure on topic Survey not getting translated
Yes, but when i manually append the language code in URL it gets translated.

When i click on execute survey in french i gets redirected to token form and that form opens in french language but once i fill up the token and press continue the survey gets loaded in English.

Yes i have entered the different languages in the textboxes labled with the languages names.
The topic has been locked.
More
5 years 7 months ago #172688 by jelo
Replied by jelo on topic Survey not getting translated

poojadure wrote: When i click on execute survey in french i gets redirected to token form and that form opens in french language but once i fill up the token and press continue the survey gets loaded in English.

Ok, can be a bug.

To sumup:
When you enter the survey via a URL with e.g ?lang=fr, the languages switches after entering the token back from French to the main language of the survey (English?)

1. What version of LimeSurvey is used (you find that info at the bottom of LimeSurvey).
2. Did you check the language field in the participant list

You can add a language switch question to provide participants to switch. Which isn't directly a solution to your issue but will ease the pain for the moment.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • poojadure
  • poojadure's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172689 by poojadure
Replied by poojadure on topic Survey not getting translated
Limesurvey version : 3.7.1

Yes in language field for participant it is 'fr'.

Thanks, but it will create a issue in collecting the responses. What if participant is from France and mistakenly fills the survey in English.
The topic has been locked.
More
5 years 7 months ago #172690 by jelo
Replied by jelo on topic Survey not getting translated
Just to be sure:
Is the issue occuring when you have the ?lang= is attached? Or only when not attaching ?lang= ?

There is a bugreport for that issue, when NOT setting the ?lang= parameter.
bugs.limesurvey.org/view.php?id=13948

So updating the LS version (still recommend) will not fix it.
You might add your comment to the bugreport to raise attention to the issue.
You should distribute the surveylinks with an attached lang parameter.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • poojadure
  • poojadure's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172691 by poojadure
Replied by poojadure on topic Survey not getting translated
When i don't have lang parameter in my string it gets loaded normally in English and if i manually add the
?lang=fr than the survey gets loaded in french.

So basically the problem is that the lang parameter gets disappeared after token form.

This is my URL before login using token : uat.datamncah.org/index.php/577542?newtest=Y&lang=fr

And once i login The URL is : uat.datamncah.org/index.php/577542
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 7 months ago #172692 by LouisGac
Replied by LouisGac on topic Survey not getting translated
Please, update to the latest the version.
We've fixed a couple of bugs with token and languages since 3.7
The topic has been locked.
More
5 years 7 months ago #172694 by jelo
Replied by jelo on topic Survey not getting translated

LouisGac wrote: Please, update to the latest the version.

So you confirm that the bug is fixed?
bugs.limesurvey.org/view.php?id=13948

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: poojadure
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 7 months ago #172699 by LouisGac
Replied by LouisGac on topic Survey not getting translated

jelo wrote:

LouisGac wrote: Please, update to the latest the version.

So you confirm that the bug is fixed?
bugs.limesurvey.org/view.php?id=13948


I've just downloaded the lsa file attached in the bug, and everything is working fine here.
So I assume it has been fixed.
The topic has been locked.
  • poojadure
  • poojadure's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172700 by poojadure
Replied by poojadure on topic Survey not getting translated
Do you have any idea how to enable language switcher on token form.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 7 months ago #172710 by LouisGac
Replied by LouisGac on topic Survey not getting translated

poojadure wrote: Do you have any idea how to enable language switcher on token form.


I'd just give it a try and it seems not possible for now, even by editing the theme.
I don't know if it was available in 2.x version, but clearly: It should be available.
It will be easy and fast to do.So I'll do it this afternoon, and the language changer will shown on token page in the next release (so you'll just have to update to get it)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose