Change default language

More
4 months 2 weeks ago - 4 months 2 weeks 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")

File Attachment:

File Name: LimesurveyCA.lss
File Size:514 KB

File Attachment:

File Name: LimesurveyES.lss
File Size:514 KB
. 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!!
Attachments:
Last edit: 4 months 2 weeks ago by Institut.

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #184927 by Joffm
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:

File Attachment:

File Name: limesurvey...6_ES.lss
File Size:478 KB


Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: Institut

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks 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!

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!