[wp-trac] [WordPress Trac] #12425: Fallback theme code is not translatable / default theme in theme repo is not translatable

WordPress Trac wp-trac at lists.automattic.com
Sun May 16 22:08:40 UTC 2010


#12425: Fallback theme code is not translatable / default theme in theme repo is
not translatable
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  westi   
     Type:  enhancement        |       Status:  reopened
 Priority:  high               |    Milestone:  3.0     
Component:  General            |      Version:  3.0     
 Severity:  major              |   Resolution:          
 Keywords:  needs-patch        |  
-------------------------------+--------------------------------------------

Comment(by nacin):

 I would opt for this:

 1. Replace current Kubrick files in the wp.org repo with the i18n version.

 2. Remove theme-compat, and hard-code a search for /default, and deprecate
 this behavior.

 This prevents us from adding new strings to core or requiring a separate
 pot file or translations for theme-compat.

 If it is a fresh 3.0 install without default and without theme-compat, and
 they try to use a theme using the deprecated behavior, then that's their
 problem. It is also very easily fixable, by downloading Kubrick, and, to
 eliminate the deprecated behavior, adding "Template: default" to the
 style.css.

 I think theme-compat was a good idea but it introduced an
 oddity/complexity when it comes to translations (and modified Kubricks,
 for that matter), and thus breaks more than it needs to.

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


More information about the wp-trac mailing list