[wp-trac] [WordPress Trac] #27524: The titles of columns in the admin aren't translated with custom post types and custom taxonomies

WordPress Trac noreply at wordpress.org
Thu Mar 27 11:47:58 UTC 2014


#27524: The titles of columns in the admin aren't translated with custom post types
and custom taxonomies
-------------------------------+------------------------------
 Reporter:  benoitchantre      |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  I18N               |     Version:  3.8.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by benoitchantre):

 Replying to [comment:9 johnbillion]:
 > benoitchantre: Where is your translation coming from? Is it in a
 language file with the same textdomain as your plugin ("mydomain")? Or is
 it a translation in your theme with a different textdomain?

 The translation comes from a .mo file in my theme.

 It is loaded by this line of code in functions.php
 The textdomain is always the same (not mydomain, but the name of the theme
 ; I used mydomain only in this ticket to have a neutral name).
 {{{
 load_theme_textdomain( 'mydomain', get_template_directory() . '/languages'
 );
 }}}

 Note: there's no plugin installed, only my custom theme based on _s from
 Automattic.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27524#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list