[wp-trac] [WordPress Trac] #51893: Don’t split translatable strings in block templates

WordPress Trac noreply at wordpress.org
Tue Dec 1 17:04:18 UTC 2020


#51893: Don’t split translatable strings in block templates
-------------------------------------------------+-------------------------
 Reporter:  tobifjellner                         |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.6
Component:  Editor                               |     Version:  5.5
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch i18n-change commit dev-    |     Focuses:
  reviewed                                       |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"49723" 49723]:
 {{{
 #!CommitTicketReference repository="" revision="49723"
 Editor: Don't unnecessarily split a translatable string in block
 templates.

 As a best practice, strings available for translation should contain
 entire sentences whenever possible.

 Splitting a sentence in two parts and putting them back together after
 translation should be avoided, as the word order in other languages can be
 different from English.

 Props tobifjellner, kebbet, audrasjb, mukesh27, hellofromTonya, azaozz,
 SergeyBiryukov.
 Reviewed by azaozz, SergeyBiryukov.
 Merges [49722] to the 5.6 branch.
 Fixes #51893.
 }}}

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


More information about the wp-trac mailing list