View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09650 | Feature requests | Plugins | public | 2015-05-27 08:43 | 2020-01-16 17:02 |
Reporter | DenisChenu | Assigned To | ollehar | ||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Fixed in Version | 3.0 | ||||
Summary | 09650: Extend lang (add po/mo system for plugin) | ||||
Description | In some plugin, we add some text. We need to have a solution to offer a way to translate this sentence for plugins. | ||||
Additional Information | Maybe in same event than linked Feature ? | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Story point estimate | |||||
Users affected % | |||||
Discussion here: https://manual.limesurvey.org/Plugin_localization#Questions |
|
Think the way you done is OK in cint . Except for "replacing" default string, but this one can be done (maybe ) with other event/system Some example
For Privacy Message : https://bugs.limesurvey.org/view.php?id=11432 can replace it ( A event n replacement helper (or in EM helper) ) I don't see (actually) other need/example (but there are surely some ;) ) |
|
To do that, we need an event in gT/eT. Might be non-performant, thought. |
|
Better might be to hack into message source and replace some strings during runtime. |
|
Hi olle, Yes : extend Message source CAN be the solution. But maybe : don't allow replacing core messafe source => because when we need to replace a default string : we have a better event. Privacy message : {PRIVACY} replacement do it. This allow to replace easily any view, or do an update in data sent to any view. |
|
You're only talking about front-end texts? |
|
$this->gT for plugins |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-27 08:43 | DenisChenu | New Issue | |
2015-05-27 08:44 | DenisChenu | Relationship added | related to 09649 |
2016-01-30 11:58 | DenisChenu | Relationship added | related to 10260 |
2016-07-17 17:55 | ollehar | Note Added: 39933 | |
2016-07-29 17:09 | DenisChenu | Note Added: 40117 | |
2016-08-01 10:09 | ollehar | Note Added: 40122 | |
2016-08-01 10:10 | ollehar | Note Added: 40123 | |
2016-08-01 10:21 | DenisChenu | Note Added: 40125 | |
2016-08-01 10:22 | ollehar | Note Added: 40126 | |
2016-09-21 14:52 | ifok | Issue Monitored: ifok | |
2020-01-16 17:02 | DenisChenu | Assigned To | => ollehar |
2020-01-16 17:02 | DenisChenu | Status | new => closed |
2020-01-16 17:02 | DenisChenu | Resolution | open => fixed |
2020-01-16 17:02 | DenisChenu | Fixed in Version | => 3.0 |
2020-01-16 17:02 | DenisChenu | Note Added: 55328 |