View Issue Details

This issue affects 1 person(s).
 20
IDProjectCategoryView StatusLast Update
09649Feature requestsPluginspublic2025-01-09 09:40
ReporterDenisChenu Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary09649: Plugin event : update "default core string"
Description

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/) .

Additional Information

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.

TagsNo tags attached.
Bug heat20
Story point estimate
Users affected %

Relationships

has duplicate 11889 new Error pages customization by adding more end url options. 
related to 09650 closedollehar Extend lang (add po/mo system for plugin) 
related to 10260 closedtibor.pacalat customizable privacy message 
related to 11432 closedDenisChenu Allow plugin to add (or update) REPLACEMENT 
related to 12007 closedtibor.pacalat Override a translation value or modify the Save email sent to user 
related to 17163 closedDenisChenu Allow translation by DB 
related to 19891 new French (Canada) available at translation tool but not able to select as survey language 

Users monitoring this issue

ifok

Activities

ollehar

ollehar

2016-07-17 20:44

administrator   ~39934

Can't the user supply his/hers own mo/po file?

DenisChenu

DenisChenu

2016-07-18 08:42

developer   ~39936

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.
Here it's linked with Questions #2 at https://manual.limesurvey.org/Plugin_localization

ifok

ifok

2016-09-21 14:51

reporter   ~40881

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.

DenisChenu

DenisChenu

2016-09-21 14:55

developer   ~40882

@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

ifok

ifok

2016-09-21 15:02

reporter   ~40883

@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.

DenisChenu

DenisChenu

2016-09-21 15:08

developer   ~40884

Sorry :) but this feature can be made for you :) (but there can be some update to do when you update LS too)

ifok

ifok

2016-09-21 15:48

reporter   ~40889

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! ;)

DenisChenu

DenisChenu

2016-09-21 15:50

developer   ~40890

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:

  • One to add this feature in core LS
  • One to do a plugin for you
ifok

ifok

2016-09-21 16:34

reporter   ~40896

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.

DenisChenu

DenisChenu

2021-03-04 17:17

developer   ~62725

best solution seems https://bugs.limesurvey.org/view.php?id=17163

No need plugin just DB access

DenisChenu

DenisChenu

2025-01-09 09:40

developer   ~81792

Unsure need such event now: plugin can create DB string?
But it don't work for specific survey : more related to 19891 ?

Issue History

Date Modified Username Field Change
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:44 ifok Issue Monitored: ifok
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
2021-03-04 17:16 DenisChenu Relationship added related to 17163
2021-03-04 17:17 DenisChenu Note Added: 62725
2025-01-09 09:39 DenisChenu Relationship added related to 19891
2025-01-09 09:40 DenisChenu Note Added: 81792