- Posts: 1128
- Thank you received: 329
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change default language
- Ben_V
- Offline
- Platinum Member
Less
More
12 years 2 months ago #74834
by Ben_V
Case 1: you are using a LS platform and you set french as default language because you're french and 90% of your surveys are in french... One day (or one night) you're going too fast, and setting an english one you choose french as default (because it's late or you're working like a machine)...!
Result: tips, alerts etc. in french...
Case 2: You have a more than 50 items french survey (working like a charm) with conditions, asessments and a lot of funny other stuffs and you need the same in english (only english :lol: )...
I think it could be more rapid to try to change the default language and translate questions, answers, etc...
Ben/
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Change default language
Helas Denis !:When survey have only ONE langage, there are no reason to have problem
Case 1: you are using a LS platform and you set french as default language because you're french and 90% of your surveys are in french... One day (or one night) you're going too fast, and setting an english one you choose french as default (because it's late or you're working like a machine)...!
Result: tips, alerts etc. in french...
Case 2: You have a more than 50 items french survey (working like a charm) with conditions, asessments and a lot of funny other stuffs and you need the same in english (only english :lol: )...
I think it could be more rapid to try to change the default language and translate questions, answers, etc...
Ben/
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: mascarpone
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
12 years 2 months ago #74835
by DenisChenu
I mean : there are no reason to have a problem to change the default langage of a survey in phpMyAdmin or in export/import lss file if survey have only ONE langage.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Change default language
I think you don't understand what i mean.benitov wrote:
Helas Denis !:When survey have only ONE langage, there are no reason to have problem
Case 1: ...
Case 2: ...
Ben/
I mean : there are no reason to have a problem to change the default langage of a survey in phpMyAdmin or in export/import lss file if survey have only ONE langage.
I never working like a machinebecause it's late or you're working like a machine
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: mascarpone
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
12 years 2 months ago #74841
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Change default language
...autant pour moi! :whistle:
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
- mascarpone
- Offline
- Premium Member
Less
More
- Posts: 129
- Thank you received: 6
8 years 5 months ago #127879
by mascarpone
Folks, what would you advise I use to open/edit that .lss?
Thanks!
Replied by mascarpone on topic Change default language
DenisChenu wrote:
I think you don't understand what i mean.benitov wrote:
Helas Denis !:When survey have only ONE langage, there are no reason to have problem
Case 1: ...
Case 2: ...
Ben/
I mean : there are no reason to have a problem to change the default langage of a survey in phpMyAdmin or in export/import lss file if survey have only ONE langage.
I never working like a machinebecause it's late or you're working like a machine
Folks, what would you advise I use to open/edit that .lss?
Thanks!
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
8 years 5 months ago #127884
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Change default language
It's ok
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
8 years 5 months ago #127891
by holch
See Ben's post from 3 years ago:
"3) open one of this file with a text editor".
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 Change default language
mas_carpone wrote: Folks, what would you advise I use to open/edit that .lss?
Thanks!
See Ben's post from 3 years ago:
"3) open one of this file with a text editor".
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.
- mascarpone
- Offline
- Premium Member
Less
More
- Posts: 129
- Thank you received: 6
8 years 5 months ago #127939
by mascarpone
Replied by mascarpone on topic Change default language
Ok thanks!
Note that when editing an .lss file to change the base language of a survey (say from english to french) you need to change (at least) 2 expressions: [en] to [fr] and <language>en</language> to <language>fr</language>
(Not sure whether there are other expressions in addition to those 2 to be edited)
Note that when editing an .lss file to change the base language of a survey (say from english to french) you need to change (at least) 2 expressions: [en] to [fr] and <language>en</language> to <language>fr</language>
(Not sure whether there are other expressions in addition to those 2 to be edited)
The topic has been locked.
- mos3465
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 1
6 years 1 week ago #167442
by mos3465
Replied by mos3465 on topic Change default language
Just a note - the base language change via updating the language column in lime_surveys doesn´t seem to work for limesurvey 3.5 anymore. It will break the survey.
The replacement of [{lang}] and <language>{lang}</language> works like a charm, though.
The replacement of [{lang}] and <language>{lang}</language> works like a charm, though.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DanielVN
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 1
5 years 6 months ago #175697
by DanielVN
Replied by DanielVN on topic Change default language
Hi All,
I have the same question for a live survey where i have 2 languages Greek (set as default) and English. I would like to switch them so the English will be the base language. My main goal is to show the Response filters in teh statistics in English as theya re currently shown in the main language.
Thank you in advance.
Cheers
Daniel
I have the same question for a live survey where i have 2 languages Greek (set as default) and English. I would like to switch them so the English will be the base language. My main goal is to show the Response filters in teh statistics in English as theya re currently shown in the main language.
Thank you in advance.
Cheers
Daniel
The topic has been locked.
- Institut
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 10 months ago - 4 years 10 months ago #184922
by Institut
Replied by Institut on topic Change default language
Hello,
I've got more or less the same problem: i need to change the base language to spanish of a survey which is in catalan. I've tryed two ways:
1. Creating a new survey, setting the language to spanish and then importing the groups of questions from the original survey to the new one. The problem here is that Lime indicates that this action can't be done because the base language of the two surveys must be the same (which it is a bit paradoxical, because i'm not translating the survey; this is something that perhaps could be fixed).
2. Doing as Ben_V says:
1) export the survey as .lss file
2) Make a copy in case of trouble !
3) open one of this file with a text editor
4) Replace all expressions related with current language with format <![CDATA[XX]]>
for example replace :
<![CDATAb]ca[/b]>
with your choosen language
<![CDATAb]es[/b]>
I have also changed the language codifications for the email templates and so on (<span lang="ES") . I have edited in LibreOffice, saved it as an lss (algo as a .txt) and then uploaded it to Lime again. I've got no problem with the importation, but when i try to open the survey i can't, and there appears a message saying '500 internal server error. Selecter Surveys language not found'. It's strange, because i've selected the code 'es' for the spanish language from another survey that i have created in spanish, i exported it in lss and checked if it was the right code.
Any clues? I attatch the original export in lss from the catalan survey and the modifyed one in spanish, if anyone could check.
Thank you very much!!
I've got more or less the same problem: i need to change the base language to spanish of a survey which is in catalan. I've tryed two ways:
1. Creating a new survey, setting the language to spanish and then importing the groups of questions from the original survey to the new one. The problem here is that Lime indicates that this action can't be done because the base language of the two surveys must be the same (which it is a bit paradoxical, because i'm not translating the survey; this is something that perhaps could be fixed).
2. Doing as Ben_V says:
1) export the survey as .lss file
2) Make a copy in case of trouble !
3) open one of this file with a text editor
4) Replace all expressions related with current language with format <![CDATA[XX]]>
for example replace :
<![CDATAb]ca[/b]>
with your choosen language
<![CDATAb]es[/b]>
I have also changed the language codifications for the email templates and so on (<span lang="ES") . I have edited in LibreOffice, saved it as an lss (algo as a .txt) and then uploaded it to Lime again. I've got no problem with the importation, but when i try to open the survey i can't, and there appears a message saying '500 internal server error. Selecter Surveys language not found'. It's strange, because i've selected the code 'es' for the spanish language from another survey that i have created in spanish, i exported it in lss and checked if it was the right code.
Any clues? I attatch the original export in lss from the catalan survey and the modifyed one in spanish, if anyone could check.
Thank you very much!!
Last edit: 4 years 10 months ago by Institut.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12937
- Thank you received: 3979
4 years 10 months ago #184927
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Change default language
Hi,
here you get an *.lss with base language "Spanish".
I had to remove a lot of strange characters (which character set did you use in LibreOffice?).
So here you are:
Joffm
here you get an *.lss with base language "Spanish".
I had to remove a lot of strange characters (which character set did you use in LibreOffice?).
So here you are:
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Institut
The topic has been locked.
- Institut
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 10 months ago #184955
by Institut
Replied by Institut on topic Change default language
Hello Joffm, thank you very much for your help.
I use Libe Office oppening the files with the character set UTF8, the same i'm using when i work with the L.O. calc on .csv / .vv files (and i've never had problems before with UTF8...). I notticed the strange characters but i thought that when uploading the file again to the web it yould be solved.
I've checked your file and it works perfectly. Thank you VERY MUCH again for your help.
Cheers!
I use Libe Office oppening the files with the character set UTF8, the same i'm using when i work with the L.O. calc on .csv / .vv files (and i've never had problems before with UTF8...). I notticed the strange characters but i thought that when uploading the file again to the web it yould be solved.
I've checked your file and it works perfectly. Thank you VERY MUCH again for your help.
Cheers!
The topic has been locked.