[wp-trac] Re: [WordPress Trac] #6951: load_theme_textdomain should allow one to specify directory

WordPress Trac wp-trac at lists.automattic.com
Sat May 10 02:18:09 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                                     |   Resolution:           
 Keywords:  load_theme_textdomain l10n i18n has-patch  |  
-------------------------------------------------------+--------------------
Comment (by Viper007Bond):

 I think it might be worthwhile to force the translation file to be
 somewhere inside the theme's folder. That way theme developers with bad
 habits and practices can't have it be located elsewhere.

 I propose `$path` should be a relative to the current theme's directory.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6951#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list