[wp-trac] Re: [WordPress Trac] #6007: Gettexted file do no translate

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 29 00:08:08 GMT 2008


#6007: Gettexted file do no translate
-----------------------+----------------------------------------------------
 Reporter:  SteveAgl   |        Owner:  hansengel
     Type:  defect     |       Status:  assigned 
 Priority:  normal     |    Milestone:  2.5      
Component:  i18n       |      Version:  2.5      
 Severity:  minor      |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by ryan):

 You can only pass literal strings to __().

 These strings should be translated when $wp_file_descriptions is defined.
 By the time file.php is loaded, the gettext system should be fully
 initialized.  I'd like to understand why that is apparently not working.

 If we can't figure that out, we can change your patch to use translate()
 instead of __().

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


More information about the wp-trac mailing list