[wp-trac] [WordPress Trac] #34216: Remove HTML tags from translatable database error strings

WordPress Trac noreply at wordpress.org
Sat Oct 10 08:52:16 UTC 2015


#34216: Remove HTML tags from translatable database error strings
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.4
Component:  Database        |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------

Comment (by pavelevap):

 Sure, but somebody can suggest translation in GlotPress only for some
 strings, etc and order is gone. I like the idea of removing HTML from
 simple strings, but in the case of long paragraphs we are losing important
 context which is wrong. For example translation of some sentences can be
 different (and better) when translators know that they are items of list
 (`li`) and exact order. I know how to simulate those situations by
 changing `wp-config.php` and see it live, but many translators not (and
 they should not)...

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


More information about the wp-trac mailing list