- Posts: 10
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
New Language (update safe)
- sicoda_limesurvey
- Topic Author
- Offline
- New Member
Less
More
6 years 11 months ago #151840
by sicoda_limesurvey
New Language (update safe) was created by sicoda_limesurvey
Is there a way to add an alternative language that is update safe?
I successfully edited the necessary .po .mo and changed the application/helpers/surveytranslator_helper.php
With the latest update this file was overwritten. How can I make my surveytranslater_helper Update safe?
Thanks, Oliver
I successfully edited the necessary .po .mo and changed the application/helpers/surveytranslator_helper.php
With the latest update this file was overwritten. How can I make my surveytranslater_helper Update safe?
Thanks, Oliver
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 11 months ago #151847
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic New Language (update safe)
You can revoke the write permissions on that file.
Or you just don't update at all.
If you put surveytranslater_helper on readonly, you might get issues in other parts of LimeSurvey if you only doing partial updates.
Perhaps you should show your modification and think about doing a feature request to allow your kind of modifications to be integrated as a new feature.
Or you just don't update at all.
If you put surveytranslater_helper on readonly, you might get issues in other parts of LimeSurvey if you only doing partial updates.
Perhaps you should show your modification and think about doing a feature request to allow your kind of modifications to be integrated as a new feature.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- sicoda_limesurvey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 1
6 years 11 months ago #151848
by sicoda_limesurvey
Replied by sicoda_limesurvey on topic New Language (update safe)
Hi Jelo, I thought of that too, but wouldn't that lead to an error on the automatic update process?
The language updates are specific and will definitely not work for other user.
Best, Oliver
The language updates are specific and will definitely not work for other user.
Best, Oliver
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 11 months ago #151850
by jelo
The feature request wouldn't be about the language modifications, but about allowing overriding languages files after each update.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic New Language (update safe)
You will have to try. I'm not doing these kind of modifications since even if that works, it is not sure if the updated files can interact the "old" surveytranslater_helper. The comfortupdater itself is changing too. So what might work today no longer work with next updater revision. So you might consider updating via GIT on your own and scripting the replacement of the files after the update.sicoda_limesurvey wrote: Hi Jelo, I thought of that too, but wouldn't that lead to an error on the automatic update process?
The feature request wouldn't be about the language modifications, but about allowing overriding languages files after each update.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.