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
  • Vinicos's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 6 days ago - 4 years 6 days ago #197341 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
Last edit: 4 years 6 days ago by Vinicos.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 days ago #197342 by Joffm
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

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
  • Vinicos's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 6 days ago #197345 by Vinicos
Thansk, Joffm
Your tips will be very important in the future, as I will also collect data in other languages.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose