#2887 closed defect (bug) (wontfix)
Load default localization domain before load plugins
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.0.3 |
| Component: | General | Keywords: | plugins l18n bg|has-patch bg|needs-testing |
| Focuses: | Cc: |
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)
#1
@
20 years ago
- Keywords bg|has-patch bg|needs-testing added
- Owner changed from anonymous to Sewar
#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.
Load default localization domain before load plugins