[wp-trac] Re: [WordPress Trac] #7896: Quotation marks should be internationalized

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 16 10:07:52 GMT 2008

#7896: Quotation marks should be internationalized
 Reporter:  huji    |        Owner:  anonymous
     Type:  defect  |       Status:  new      
 Priority:  normal  |    Milestone:  2.8      
Component:  i18n    |      Version:           
 Severity:  major   |   Resolution:           
 Keywords:          |  
Comment (by huji):

 Another example: Default theme uses something like this to show the tags
 of a post:

  the_tags('Tags: ', ', ', '<br />'

 This should be internationalized in two ways:
 1) Instead of hard coded phrase "Tags: ", an i18ned version should be used
 like this:

   the_tags(__('Tags: ','kubrick'), ', ', '<br />')

 (Default_fa theme uses this method, at the moment).

 2) Furhther than the above, the comma should be i18ned:

   the_tags(__('Tags: ','kubrick'), $theComma, '<br />')

 And the global variable $theComma should be set as ", " by default, and
 get overridden for special langauges using their .mo and .op files.

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

More information about the wp-trac mailing list