[wp-trac] [WordPress Trac] #45473: Twenty Nineteen: Avoid html code in translatable strings

WordPress Trac noreply at wordpress.org
Fri Dec 28 20:56:58 UTC 2018


#45473: Twenty Nineteen: Avoid html code in translatable strings
-----------------------------------+---------------------
 Reporter:  Presskopp              |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  5.0.3
Component:  Bundled Theme          |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+---------------------
Changes (by laurelfulford):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 Thanks for the report, @Presskopp!

 It looks like there's been quite a bit of discussion about the best
 approach for this issue, shared in Twenty Nineteen GitHub repo, on top of
 https://github.com/WordPress/twentynineteen/issues/725 shared above:

 * https://github.com/WordPress/twentynineteen/pull/274 (looks like the
 bulk of the conversation happens here)
 * https://github.com/WordPress/twentynineteen/pull/733
 * https://github.com/WordPress/twentynineteen/pull/734

 @kjellr or @allancole -- I'm definitely not up to date where this ended up
 in Twenty Nineteen. Is there a particular direction that was decided on
 for HTML in strings marked for translation? From my read it sounds like it
 may make sense to keep the HTML in some cases, but I could be wrong!

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


More information about the wp-trac mailing list