Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

New Language (update safe)

  • sicoda_limesurvey
  • sicoda_limesurvey's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 weeks 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
The topic has been locked.
More
7 years 2 weeks ago #151847 by jelo
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.

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
  • sicoda_limesurvey's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 weeks 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 topic has been locked.
More
7 years 2 weeks ago #151850 by jelo
Replied by jelo on topic New Language (update safe)

sicoda_limesurvey wrote: Hi Jelo, I thought of that too, but wouldn't that lead to an error on the automatic update process?

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.


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.

Lime-years ahead

Online-surveys for every purse and purpose