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

WordPress Trac noreply at wordpress.org
Tue Jul 26 17:09:03 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:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:
--------------------------+------------------------------

Comment (by malthert):

 >I would prefer that the default is the site language

 Why? Every application WP relies on, ONLY logs in English (PHP, MySQL,...)
 - why would you suddenly want to change the logging language?
 Even tools WP relies on internally (curl,...) will return an error in
 ENGLISH.

 >Please share examples of WordPress errors that you have found logged in a
 language other than the site language (or English).

 wp_remote_get will have an English error, if the error is from CURL.
 All image operations from imagick or GD will have their error in English,
 if the issue is in the library.

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


More information about the wp-trac mailing list