[wp-trac] [WordPress Trac] #6951: load_theme_textdomain should
allow one to specify directory
WordPress Trac
wp-trac at lists.automattic.com
Fri May 9 20:25:52 GMT 2008
#6951: load_theme_textdomain should allow one to specify directory
----------------------+-----------------------------------------------------
Reporter: filosofo | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version:
Severity: normal | Keywords: load_theme_textdomain l10n i18n has-patch
----------------------+-----------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/6951>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list