#2887 closed defect (bug) (wontfix)
Load default localization domain before load plugins
| Reported by: | Sewar | Owned by: | Sewar |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.0.3 |
| Severity: | normal | Keywords: | plugins l18n bg|has-patch bg|needs-testing |
| Cc: | Focuses: |
Description
Some plugins uses localization after loaded (like Widgets), but default domain loaded after loading plugins. So, when this plugins try to use localization the text will not be translated and no error will occur.
Attachments (1)
Change History (8)
#3
@
20 years ago
We load the textdomain after plugins are loaded so that plugins have the chance to modify the locale. This change might break some localization plugins.
Plugins shouldn't be invoking any gettext until after the init action.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Load default localization domain before load plugins