New Language (update safe)

More
6 months 3 weeks ago #151840 by sicoda_limesurvey
sicoda_limesurvey created the topic: New Language (update safe)
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

Please Log in to join the conversation.

More
6 months 3 weeks ago #151847 by jelo
jelo replied the 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.

Please Log in to join the conversation.

More
6 months 3 weeks ago #151848 by sicoda_limesurvey
sicoda_limesurvey replied the 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

Please Log in to join the conversation.

More
6 months 3 weeks ago #151850 by jelo
jelo replied the 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.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now