New Language (update safe)

More
4 years 3 months ago #151840 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
4 years 3 months 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.
More
4 years 3 months ago #151848 by sicoda_limesurvey
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
4 years 3 months ago #151850 by jelo
Replied by jelo 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?

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.

Start now!

Just create your account and start using Limesurvey today.

Register now