[wp-trac] [WordPress Trac] #28366: Audio Player Controls are Not Translated

WordPress Trac noreply at wordpress.org
Wed May 28 14:30:37 UTC 2014


#28366: Audio Player Controls are Not Translated
---------------------------------+------------------------------
 Reporter:  Namibia              |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Script Loader        |     Version:  3.9.1
 Severity:  normal               |  Resolution:
 Keywords:  player, translation  |     Focuses:
---------------------------------+------------------------------

Comment (by Namibia):

 Hello again,

 I managed to solve the problem by editing "script-loader.php" and
 replacing:

 {{{
                 'language' => get_bloginfo( 'language' ),
 }}}

 with:

 {{{
                 'language' => substr( get_bloginfo( 'language' ) , 0, 2 ),
 }}}

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


More information about the wp-trac mailing list