[wp-trac] [WordPress Trac] #42510: Can't reflect translation

WordPress Trac noreply at wordpress.org
Sun Nov 12 20:32:26 UTC 2017


#42510: Can't reflect translation
--------------------------+------------------
 Reporter:  munyagu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  I18N          |     Version:  4.9
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------

Comment (by westonruter):

 Replying to [comment:12 odysseygate]:
 > Im getting the same issue, too.
 > In addition of `_n_noop`, `_n` seems to be unable to reflect
 translation: https://core.trac.wordpress.org/browser/trunk/src/wp-includes
 /class-wp-customize-manager.php?marks=2702#L2702

 Maybe it's because that same string appears with `_n_noop()` in `script-
 loader.php`:

 https://github.com/WordPress/wordpress-develop/blob/48980cd/src/wp-
 includes/script-loader.php#L589-L593

 Whereas it appears with `_n()` in `class-wp-customize-manager.php`:

 https://github.com/WordPress/wordpress-develop/blob/48980cd/src/wp-
 includes/class-wp-customize-manager.php#L2699-L2703

 Maybe the `_n_noop()` is clobbering the `_n()`. I confess I don't
 understand the mechanics of i18n very well.

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


More information about the wp-trac mailing list