[wp-trac] [WordPress Trac] #20498: Translation of $category->name in get_the_category_list() category-template.php

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 20 23:07:35 UTC 2012


#20498: Translation of $category->name in get_the_category_list() category-
template.php
-----------------------------+-----------------------------
 Reporter:  spap13           |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  I18N             |    Version:  3.3.1
 Severity:  trivial          |   Keywords:
-----------------------------+-----------------------------
 I had a problem displaying the multilingual name of a category which I
 would like to have translated, while using the qTranslate plugin.
 When using ''the_category()'' method it displays like this:
 [:en]word[:el]λέξη

 I could easily solve this by replacing:

 {{{
 $category->name
 }}}

 with

 {{{
 __($category->name)
 }}}

 in wp-includes/category-template.php lines: 174, 177, 184, 197, 200, 207.
 Would that be helpful to have in there?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20498>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list