Changes between Version 1 and Version 2 of Ticket #18960, comment 9
- Timestamp:
- 10/18/2011 06:46:52 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18960, comment 9
v1 v2 5 5 The textdomain does need to be unique, but not the filenames. So you could have both a plugin and a theme with different textdomains, but with the same slug. 6 6 7 Something else I was thinking about was that it might be good to include the domain in the file's name, rather than having separate directories, so that it's always clear which domainyou're handling. That's how it works for plugins.7 Something else I was thinking about was that it might be good to include the theme slug in the file's name, rather than having separate directories, so that it's always clear which theme you're handling. That's how it works for plugins. 8 8 9 9 So, the path would look like this: 10 10 11 {{{WP_LANG_DIR/themes/$ domain-$locale.mo}}}11 {{{WP_LANG_DIR/themes/$theme_slug-$locale.mo}}}