load_theme_textdomain should allow one to specify directory
|Reported by:||filosofo||Owned by:|
|Component:||I18N||Keywords:||load_theme_textdomain l10n i18n has-patch needs-testing|
Currently, you have to put .mo files in the top-most part of the theme directory, which can make things kind of crowded. It would be good to be able to specify another directory, so one could organize them in a sub-directory.
My patch preserves existing behavior by default, but adds an extra argument for load_theme_textdomain for the directory path.
Change History (8)
comment:5 jacobsantos — 6 years ago
- Component changed from General to i18n
- Keywords needs testing added
- Milestone changed from 2.9 to 2.7
- Type changed from defect to enhancement