View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021201 | mantisbt | localization | public | 2016-07-05 11:40 | 2020-03-15 15:23 |
Reporter | cproensa | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0-rc.2 | ||||
Target Version | 2.24.0 | Fixed in Version | 2.24.0 | ||
Summary | 0021201: lang_get_defaulted does not search for fallback language | ||||
Description | the function lang_get_defaulted, with the default parameters: It should also search on the system fallback language, after (1), and before (2). | ||||
Tags | No tags attached. | ||||
This was also recently reported by @obmsch in https://github.com/mantisbt-plugins/source-integration/issues/337 |
|
MantisBT: master 8d6784e0 2020-02-20 06:55 Details Diff |
lang_ensure_loaded(): load current plugin's strings Move the code to load the currently active plugin's strings from lang_get() to lang_ensure_loaded(). This is in preparation for fixing issue 0021201, as this code would then be duplicated in lang_get_defaulted(). |
Affected Issues 0021201 |
|
mod - core/lang_api.php | Diff File | ||
MantisBT: master 710a466d 2020-02-20 06:59 Details Diff |
Recursive lang_get_defaulted() for English fallback Follows the same logic as in lang_get(). Fixes 0021201 |
Affected Issues 0021201 |
|
mod - core/lang_api.php | Diff File |