[wp-trac] [WordPress Trac] #56234: error logged messages should not be translateable

WordPress Trac noreply at wordpress.org
Sat Jul 16 08:28:24 UTC 2022

#56234: error logged messages should not be translateable
 Reporter:  malthert      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:
Changes (by audrasjb):

 * keywords:   => 2nd-opinion


 I'm fairly against this, because error message are part of the interface.
 As a Core developer and a GTE, I can't see why they shouldn't be
 accessible to non-english speakers.

 At the very least, if we decide to make those message untranslatable, then
 they should indicate that there is a language change by wrapping the
 message in a container with a `lang="en"` attribute, to indicate to screen
 readers that there is an unexpected language change.

Ticket URL: <https://core.trac.wordpress.org/ticket/56234#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list