[wp-trac] [WordPress Trac] #56234: error logged messages should not be translateable
WordPress Trac
noreply at wordpress.org
Thu Dec 19 12:38:15 UTC 2024
#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 close | Focuses:
-------------------------------+------------------------------
Comment (by kkmuffme):
>Error messages are shown in many different places and contexts
By default they're showing only the PHP error log - which is all English -
unless error display is enabled explicitly?
> It doesn't mean you need to understand the code
Definitely, so what do you do if you don't understand the code?
You google it or contact support.
If your WP site is in Hebrew, you're not going to find any useful results
and support will have to reverse-lookup the .po to get the English text to
find it in code.
If you google it in English, you'll find tons of other people who had this
issue before and possibly find out how to fix it yourself.
Also vice versa:
if it's in English, you highlight the text and right click to have your
browser translate the text for you, so you know what the problem is.
If it's in your language, and you translate it to English it's not useful
- since the English text isn't 1:1 the actual error message in English,
and your Google results will be worse.
>And even if there is code involved, code is just like another language
with its own grammar, you can write and read code **without being able to
comprehend English error messages**.
Exactly. That's why error messages should be in English and not
translated.
>Internationalization/localization is one of the pillars of success of
WordPress, I don't think we should take that away.
I agree - the purpose of localization is accessibility - and for "doing it
wrong" error message, localization makes it less accessible.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56234#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list