[Bb-trac] Re: [bbPress] #1121: translation problem for theme string

bbPress bb-trac at lists.bbpress.org
Fri Jun 19 01:49:22 GMT 2009


#1121: translation problem for theme string
-----------------------+----------------------------------------------------
 Reporter:  arturo84   |        Owner:                  
     Type:  defect     |       Status:  closed          
 Priority:  high       |    Milestone:                  
Component:  Front-end  |      Version:  1.0-rc-3 (trunk)
 Severity:  normal     |   Resolution:  wontfix         
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by sambauers):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 It's up to theme creators to add translatable strings, there isn't
 anything we can do about this.

 Additionally, theme developers should be adding their own domain, so
 instead of...

 {{{
 __( 'Translate me.' )
 }}}

 They should use...

 {{{
 __( 'Translate me.', 'my-theme-name' )
 }}}

 And load that domain in the themes functions.php file...

 {{{
 bb_load_theme_textdomain( 'my-theme-name' )
 }}}

 The xx_XX.mo file would need to be in the theme folder.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/1121#comment:1>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list