Change default language

Plus d'informations
il y a 1 mois 2 semaines - il y a 1 mois 2 semaines #184922 par Institut
Réponse de Institut sur le sujet 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")

Fichier attaché :

Nom du fichier : LimesurveyCA.lss
Taille du ficher :514 ko

Fichier attaché :

Nom du fichier : LimesurveyES.lss
Taille du ficher :514 ko
. 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!!
Pièces jointes :
Dernière édition: il y a 1 mois 2 semaines par Institut.

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

Plus d'informations
il y a 1 mois 2 semaines #184927 par Joffm
Réponse de Joffm sur le sujet 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:

Fichier attaché :

Nom du fichier : limesurvey...6_ES.lss
Taille du ficher :478 ko


Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Pièces jointes :
Les utilisateur(s) suivant ont remercié: Institut

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

Plus d'informations
il y a 1 mois 2 semaines #184955 par Institut
Réponse de Institut sur le sujet 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!

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!