Welcome to the LimeSurvey Community Forum

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

Change default language

  • Margarita01
  • Margarita01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #74798 by Margarita01
Change default language was created by Margarita01
Hello!

How can I change the default language of a survey that already exists?
I neither can't find any button, nor any suggestions in the manual or the forum.

Thanks!
The topic has been locked.
  • Margarita01
  • Margarita01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #74805 by Margarita01
Replied by Margarita01 on topic Change default language
ok, the answer is: it's not possible to change it afterwards.
but would be great if it was...
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74806 by DenisChenu
Replied by DenisChenu on topic Change default language
Hello Margarita,

You can change the default langage, but there are problem if you do.

You can access to your database ( via phpmyadmin) and acces to lime_surveys table, select modify the langage.

Something like that:
Code:
UPDATE `lime_surveys` SET `languages` = 'en' WHERE `lime_surveys`.`sid` =17617;

BUT, this not translate the sentences :)

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 topic has been locked.
  • Margarita01
  • Margarita01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #74810 by Margarita01
Replied by Margarita01 on topic Change default language
Hey,

thanks for your support! in the meantime i just did the whole survey again, but it's good to know for the next time ;)
The topic has been locked.
More
12 years 1 month ago #74812 by Ben_V
Replied by Ben_V on topic Change default language
Margarita,

I did the following several times, always for surveys with only 1 language ...and I don't remember if there was further problems for example with some answers backup (VVfiles)...
So don't try this if your survey is already activated

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 :
<![CDATA[en]]>
with your choosen language
<![CDATA[fr]]>

5) Import and test...

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: ecoutinho, Institut
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74830 by DenisChenu
Replied by DenisChenu on topic Change default language
Helo,

When survey have only ONE langage, there are no reason to have problem :).

Denis

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 topic has been locked.
More
12 years 1 month ago #74834 by Ben_V
Replied by Ben_V on topic Change default language

When survey have only ONE langage, there are no reason to have problem

Helas Denis !:
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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74835 by DenisChenu
Replied by DenisChenu on topic Change default language

benitov wrote:

When survey have only ONE langage, there are no reason to have problem

Helas Denis !:
Case 1: ...
Case 2: ...

Ben/

I think you don't understand what i mean.

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.

because it's late or you're working like a machine

I never working like a machine :P

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.
More
12 years 1 month ago #74841 by Ben_V
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.
More
8 years 5 months ago #127879 by mascarpone
Replied by mascarpone on topic Change default language

DenisChenu wrote:

benitov wrote:

When survey have only ONE langage, there are no reason to have problem

Helas Denis !:
Case 1: ...
Case 2: ...

Ben/

I think you don't understand what i mean.

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.

because it's late or you're working like a machine

I never working like a machine :P


Folks, what would you advise I use to open/edit that .lss?

Thanks!
The topic has been locked.
More
8 years 5 months ago #127884 by Ben_V
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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #127891 by holch
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.

Lime-years ahead

Online-surveys for every purse and purpose