[wp-trac] [WordPress Trac] #31862: Avoid using HTML tags in translation strings and add context

WordPress Trac noreply at wordpress.org
Fri Sep 25 12:52:48 UTC 2015


#31862: Avoid using HTML tags in translation strings and add context
--------------------------+-----------------------------
 Reporter:  ramiy         |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by pavelevap):

 `_x()` functions should not be used here. It is the place for translators
 comment with detailed explanation like "String is diplayed when editing
 file in plugin editor for active plugin and this word in brackets has to
 be in the end of the whole sentence above editor". Simple context "plugin"
 can mean many things in different languages: is it one plugin active or
 more, is it adjective or verb, where can be seen this string, etc. We know
 it very well, but many translators not...

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


More information about the wp-trac mailing list