[wp-trac] [WordPress Trac] #11033: Function needed to support l10n for child themes

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 4 12:14:01 UTC 2009


#11033: Function needed to support l10n for child themes
-----------------------------+----------------------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  westi    
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  high             |   Milestone:  2.9      
Component:  i18n             |     Version:  2.9      
 Severity:  major            |    Keywords:  has-patch
-----------------------------+----------------------------------------------

Comment(by nbachiyski):

 It would have been perfect to be able to do it in
 {{{load_theme_textdomain()}}}, but we don't know the domain of the child
 theme there. so we can't load the strings to the right place. So, we need
 this function.

 But I think we should call it {{{load_child_theme_textdomain()}}}. It
 should state what is the effect, not what it does under the hood. Also, I
 can't imagine why would you want to load the MO file from the stylesheet
 directory if you are not in a child theme.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11033#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list