Change default language

Plus d'informations
il y a 7 ans 7 mois #74798 par 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!

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 7 ans 7 mois #74805 par Margarita01
Réponse de Margarita01 sur le sujet Change default language
ok, the answer is: it's not possible to change it afterwards.
but would be great if it was...

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 7 mois #74806 par DenisChenu
Réponse de DenisChenu sur le sujet 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:
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 .
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 7 mois #74810 par Margarita01
Réponse de Margarita01 sur le sujet 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 ;)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 7 mois #74812 par Ben_V
Réponse de Ben_V sur le sujet 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)
Les utilisateur(s) suivant ont remercié: ecoutinho, Institut

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 7 mois #74830 par DenisChenu
Réponse de DenisChenu sur le sujet 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 7 mois #74834 par Ben_V
Réponse de Ben_V sur le sujet 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)
Les utilisateur(s) suivant ont remercié: mascarpone

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 7 mois #74835 par DenisChenu
Réponse de DenisChenu sur le sujet Change default language

benitov écrit:

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: mascarpone

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 7 mois #74841 par Ben_V
Réponse de Ben_V sur le sujet 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)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #127879 par mascarpone
Réponse de mascarpone sur le sujet Change default language

DenisChenu écrit:

benitov écrit:

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!

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #127884 par Ben_V
Réponse de Ben_V sur le sujet 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)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #127891 par holch
Réponse de holch sur le sujet Change default language

mas_carpone écrit: 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'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #127939 par mascarpone
Réponse de mascarpone sur le sujet 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)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 6 mois #167442 par mos3465
Réponse de mos3465 sur le sujet 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.
Les utilisateur(s) suivant ont remercié: DenisChenu

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 mois 3 semaines #175697 par DanielVN
Réponse de DanielVN sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!