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?
All language files are located in /limesurvey/locale/<languageshortcut>.
If you want to edit a translation, please follow the instructions at our manual.
Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!
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...
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 support
-
Plugins, theme and development
. I don't answer to private message.
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..
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.
Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!
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:
www.limesurvey.org/manual/Translating_Li...ng_a_new_translation