[wp-trac] [WordPress Trac] #38643: Show toolbar (admin bar) in the user's locale (language)

WordPress Trac noreply at wordpress.org
Fri Nov 29 18:24:19 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 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.

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


More information about the wp-trac mailing list