- Posts: 55
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change the language options in a Language switch question
- Vinicos
- Topic Author
- Offline
- Senior Member
Less
More
4 years 6 days ago - 4 years 6 days ago #197341
by Vinicos
Change the language options in a Language switch question was created by Vinicos
Hello,
I'm creating a survey in Brazilian Portuguese and European Portuguese. I included the "Language switch" question and I would like to change the way they refer to the language options. Right now, we may find the options: "Português" and "Português do Brasil". I would like to change that to "Português Europeu" and "Português Brasileiro". Is it possible?
LS version 3.17.7+190627
Thanks
I'm creating a survey in Brazilian Portuguese and European Portuguese. I included the "Language switch" question and I would like to change the way they refer to the language options. Right now, we may find the options: "Português" and "Português do Brasil". I would like to change that to "Português Europeu" and "Português Brasileiro". Is it possible?
LS version 3.17.7+190627
Thanks
Last edit: 4 years 6 days ago by Vinicos.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12909
- Thank you received: 3975
4 years 6 days ago #197342
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Change the language options in a Language switch question
Looks like you have to edit the translation file.
Download the translation files as *.po
translate.limesurvey.org/projects/limesurvey-3/pt-br/default/
At the bottom of the page you find the export button.
And for portuguese just change the language code in the link to "pt".
Edit them with "PoEdit" (you may download this here poedit.net/ )
Save (the needed *.mo file is created, too
Store the *.mo file into the correct folder of your installation.
And now the easy way:
Or you do the following. Something I wrote 5 months ago.
How do you invite your respondents?
If it is a closed survey with a token table you may set the language in the participant table.
If it is a open survey and the respondents click a general link, you may offer two links with your two languages.
www.example.com/limesurvey/index.php/123123 ?lang=pt
www.example.com/limesurvey/index.php/123123 ?lang=pt_br
Or only distribute one link only in Portugal, the other in Brazil.
Or create simple HTML page which explains something and the respondents click one of the links which directs to the survey with the selected language.
So there are a few other options with removed language changer from the survey.
Joffm
Download the translation files as *.po
translate.limesurvey.org/projects/limesurvey-3/pt-br/default/
At the bottom of the page you find the export button.
And for portuguese just change the language code in the link to "pt".
Edit them with "PoEdit" (you may download this here poedit.net/ )
Save (the needed *.mo file is created, too
Store the *.mo file into the correct folder of your installation.
And now the easy way:
Or you do the following. Something I wrote 5 months ago.
How do you invite your respondents?
If it is a closed survey with a token table you may set the language in the participant table.
If it is a open survey and the respondents click a general link, you may offer two links with your two languages.
www.example.com/limesurvey/index.php/123123 ?lang=pt
www.example.com/limesurvey/index.php/123123 ?lang=pt_br
Or only distribute one link only in Portugal, the other in Brazil.
Or create simple HTML page which explains something and the respondents click one of the links which directs to the survey with the selected language.
So there are a few other options with removed language changer from the survey.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- Vinicos
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 1
4 years 6 days ago #197345
by Vinicos
Replied by Vinicos on topic Change the language options in a Language switch question
Thansk, Joffm
Your tips will be very important in the future, as I will also collect data in other languages.
Your tips will be very important in the future, as I will also collect data in other languages.
The topic has been locked.