View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|09649||Feature requests||[All Projects] Plugins||public||2015-05-27 08:41||2016-12-15 23:56|
|Target Version||Fixed in Version|
|Summary||09649: Plugin event : update "default core string"|
Looking at forum, we have a lot of user asking to update this string, or this another string. String come from "lang" (https://translate.limesurvey.org/) .
I'm afraid of memory issue if we call a plugin event each time we call gt/et etc .... but find some way to update default string can be a good idea.
Actually : using jquery to update HTML directly can be a solution.
|Tags||No tags attached.|
|has duplicate||11889||new||Error pages customization by adding more end url options.|
|related to||09650||new||Extend lang (add po/mo system for plugin)|
|related to||10260||new||customizable privacy message|
|related to||11432||closed||DenisChenu||Allow plugin to add (or update) REPLACEMENT|
|related to||12007||new||Override a translation value or modify the Save email sent to user|
Can't the user supply his/hers own mo/po file?
Yes, but removed each time updater come in.
And more : for example, for privacy : in France we have to give a number (CNIL) : this number is different for each website.
We are supplying or own mo/po file at the moment, but as DenisChenu said, it is deleted from surveytranslator_helper.php every time we update - this is the only reason why we can't use comfortUpdate.
Also, with every update, we need to re-download an updated .po file from here: https://translate.limesurvey.org/projects/ and change our text strings. Quite a hassle, actually.
@ifolk : depend on the language string you want to update, but with actual version : we already have some solution : https://framagit.org/SondagePro-LimeSurvey-plugin/adaptEnterErrorSurveyText or https://github.com/SondagesPro/adaptEnterErrorSurveyText
@DenisChenu: Interesting, thanks for the information. :)
Unfortunately, we are updating the text string "Survey" and change it to "Registration", so thats a lot of strings we are changing. A simple search&replace of the .po file is what we are doing right now, which seems to work.
Sorry :) but this feature can be made for you :) (but there can be some update to do when you update LS too)
oh, really? You mean someone can program a plugin for us which replaces the text string for specific surveys? Can you forward me to a limesurvey developer who is willing to create this kind of plugin? Of course, paid feature! ;)
No, i say : this feature is made for you. When you have this feature : a dev (me or another) can construct a plugin for this.
You need 2 DEV:
ah, you are talking about THIS feature (ID 09649), got it now! Ok, thank you, I will watch this feature request and hope for it to get implemented sometime.
|2015-05-27 08:41||DenisChenu||New Issue|
|2015-05-27 08:44||DenisChenu||Relationship added||related to 09650|
|2016-01-30 11:59||DenisChenu||Relationship added||related to 10260|
|2016-07-17 20:44||ollehar||Note Added: 39934|
|2016-07-18 08:42||DenisChenu||Note Added: 39936|
|2016-09-21 14:51||ifok||Note Added: 40881|
|2016-09-21 14:55||DenisChenu||Note Added: 40882|
|2016-09-21 15:02||ifok||Note Added: 40883|
|2016-09-21 15:08||DenisChenu||Note Added: 40884|
|2016-09-21 15:48||ifok||Note Added: 40889|
|2016-09-21 15:50||DenisChenu||Note Added: 40890|
|2016-09-21 16:34||ifok||Note Added: 40896|
|2016-11-09 10:13||DenisChenu||Relationship added||has duplicate 11889|
|2016-11-14 11:58||DenisChenu||Relationship added||related to 11432|
|2016-12-15 23:56||DenisChenu||Relationship added||related to 12007|