- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Adding a new language
- Mike1985
- Topic Author
- Offline
- New Member
Less
More
13 years 4 months ago #54125
by Mike1985
Adding a new language was created by Mike1985
I have been advised to create my own language file as I'd like to make some changes to certain blurbs on the questionnaires..
I can see that in order to change a language you have to go in to Global Setting -> General -> Default site language, correct?
From there I pick a language but where are these files located? I have searched through all my folders and cannot find them. I want to take a copy of English and call it say "Mikes Language" and then choose and edit that - where do I do that?
Cheers,
Mike
I can see that in order to change a language you have to go in to Global Setting -> General -> Default site language, correct?
From there I pick a language but where are these files located? I have searched through all my folders and cannot find them. I want to take a copy of English and call it say "Mikes Language" and then choose and edit that - where do I do that?
Cheers,
Mike
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 4 months ago #54134
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Adding a new language
All language files are located in /limesurvey/locale/<languageshortcut>.
If you want to edit a translation, please follow the instructions at our manual.
If you want to edit a translation, please follow the instructions at our manual.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- Mike1985
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 2 months ago #56339
by Mike1985
Replied by Mike1985 on topic Adding a new language
I have found the en.po file and I have found the line I want to change. I just wanted to change "This is a controlled survey. You need a valid token to participate" to something more meaningful. Because some of my customers have complained saying they "don't know what a 'token' is".
I edited the file and uploaded it but nothing happened. So I went searching for other appearances of "This is a controlled survey". I found it in the index.php and when I edited that code, the changes worked.
I have been warned before not to edit the index.php so I was hoping to use the en.po file but the changes wouldn't take. Am I misudnerstanding what the point of the .po actually is?
I even looked in config-default.php and the language is set to en. And I tried putting that line in to the config.php anyway. And all my files are running off the same Group/Owner so it shouldn't be a premissions issue...
Any ideas anyone?
I edited the file and uploaded it but nothing happened. So I went searching for other appearances of "This is a controlled survey". I found it in the index.php and when I edited that code, the changes worked.
I have been warned before not to edit the index.php so I was hoping to use the en.po file but the changes wouldn't take. Am I misudnerstanding what the point of the .po actually is?
I even looked in config-default.php and the language is set to en. And I tried putting that line in to the config.php anyway. And all my files are running off the same Group/Owner so it shouldn't be a premissions issue...
Any ideas anyone?
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
13 years 2 months ago #56342
by DenisChenu
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 Adding a new language
Hello,
To edit the langage file, you need to do it with poedit !
And send po and mo files.
Like Mazi: look at our manual
To edit the langage file, you need to do it with poedit !
And send po and mo files.
Like Mazi: look at our manual
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.
- Mike1985
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 2 months ago #56354
by Mike1985
Replied by Mike1985 on topic Adding a new language
Am I to understand that once LimeSurvey has installed, it no longer uses these .po and .mo files? Does it actually use them to create the text that I have seen in index.php? Is that how it works?
Because I don't think changing "This is a controlled survey. You need a valid token to participate" to "This is a controlled survey. You need to have been invited" warrants the download of a totally new bit of software AND having to registar a free account.. I don't want to "commit files" - the changes I want to make are SO small..
Because I don't think changing "This is a controlled survey. You need a valid token to participate" to "This is a controlled survey. You need to have been invited" warrants the download of a totally new bit of software AND having to registar a free account.. I don't want to "commit files" - the changes I want to make are SO small..
The topic has been locked.
- holch
- Away
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
13 years 2 months ago #56356
by holch
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 Adding a new language
No, changes made to the .po and .mo files should show up in your interface.
There must be something wrong.
There must be something wrong.
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.
- Mike1985
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 2 months ago #56358
by Mike1985
Replied by Mike1985 on topic Adding a new language
Ok. now we're getting somewhere. So how do I get them working again? I've got the debug set but that's not showing anything...
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 2 months ago #56625
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Adding a new language
This string can be edited by changing the translation files as shown at our manual. You just have to use poedit and then replace the .mo file on your server.
You also have to reload the whole page so that no strings are taken from cached files.
You also have to reload the whole page so that no strings are taken from cached files.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- raygain
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 7 months ago #141038
by raygain
Replied by raygain on topic Adding a new language
Hi Mike ,
I want to add new language i.e Bengali (This language not in Lime Survey List ) Please Suggest how to add new Language
Regards
Rajesh
I want to add new language i.e Bengali (This language not in Lime Survey List ) Please Suggest how to add new Language
Regards
Rajesh
The topic has been locked.
- holch
- Away
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
7 years 7 months ago #141042
by holch
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 Adding a new language
This is described in the documentation:
manual.limesurvey.org/Translating_LimeSu...ng_a_new_translation
If you are not very experienced in programming I would suggest to get in touch with the development team and see if they can set up the new language for you so that you can translate it here in the web interface:
manual.limesurvey.org/Translating_LimeSu...ng_a_new_translation
Actually, looking at this page there is already Bengali set up:
translate.limesurvey.org/projects/limesurvey-25/ (end of the list).
You can login with your account from the forum and start translating.
manual.limesurvey.org/Translating_LimeSu...ng_a_new_translation
If you are not very experienced in programming I would suggest to get in touch with the development team and see if they can set up the new language for you so that you can translate it here in the web interface:
manual.limesurvey.org/Translating_LimeSu...ng_a_new_translation
Actually, looking at this page there is already Bengali set up:
translate.limesurvey.org/projects/limesurvey-25/ (end of the list).
You can login with your account from the forum and start translating.
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.