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

WordPress Trac noreply at wordpress.org
Sun Nov 12 14:20:17 UTC 2017


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

 * keywords:   => needs-patch
 * severity:  normal => major
 * milestone:  Awaiting Review => 4.9


Comment:

 As mentioned in the DocBlock, `_n_noop()` does '''not''' translate
 strings. So the use of `wp_array_slice_assoc()` and `_n_noop()` doesn't
 really work.

 For a possible workaround without string changes see
 [attachment:42510.patch] (incomplete). Not perfect, ideally it should be
 two separate strings until we have a proper i18n API in JS.

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


More information about the wp-trac mailing list