[wp-trac] [WordPress Trac] #38643: Show toolbar (admin bar) in the user's locale (language)
WordPress Trac
noreply at wordpress.org
Fri Nov 29 19:07:34 UTC 2024
#38643: Show toolbar (admin bar) in the user's locale (language)
-------------------------+-----------------------------
Reporter: swissspidy | Owner: pbearne
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: I18N | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-----------------------------
Comment (by pbearne):
Replying to [comment:24 swissspidy]:
> It's not a "faulty text". The fundamental problem is that post types are
registered in the current locale and then the labels are just translated
into the current locale. Switching locales does not have any effect
anymore. So even if you show the toolbar in the user's locale (which we
had a patch for for 8+ years), the post type labels will always be
incorrect, which is very confusing.
>
> There are long prior discussions at #26511 and #38218.
>
> #41305 is probably the only way to truly solve this, which is also
mentioned in an earlier comment above. But that has significant drawbacks
around backward compatibility.
I feel this patch is the best we can do for now and a good step in the
right direction.
Can we get this added?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38643#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list