[wp-trac] [WordPress Trac] #41694: i18n: Avoid using HTML tags in translation strings (wp-signup.php)

WordPress Trac noreply at wordpress.org
Mon Aug 21 22:45:53 UTC 2017


#41694: i18n: Avoid using HTML tags in translation strings (wp-signup.php)
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The old translation string:

 `<a href="%1$s">%2$s</a> is your new site. <a href="%3$s">Log in</a> as
 “%4$s” using your existing password.`

 Is using `<a href="%1$s">%2$s</a>`. This can be replaced with a simple
 `%1$s` moving the HTML tags out of the string. Making is much easier for
 translation, especially in RTL languages like Hebrew where bi-directional
 languages are difficult to handle.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41694>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list