[wp-trac] [WordPress Trac] #59695: determine_locale ignores get_user_locale() in front end

WordPress Trac noreply at wordpress.org
Fri Oct 20 13:07:29 UTC 2023


#59695: determine_locale ignores get_user_locale() in front end
----------------------------+------------------------------
 Reporter:  pentatonicfunk  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  I18N            |     Version:  6.3.2
 Severity:  normal          |  Resolution:
 Keywords:  close           |     Focuses:
----------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => close


Comment:

 This is by design. The back end will be displayed in the user’s individual
 locale while the locale used on the front end equals the one set for the
 whole site. See https://make.wordpress.org/core/2016/11/07/user-admin-
 languages-and-locale-switching-in-4-7/ for  more details.

 As for the toolbar, ideally we would show the toolbar in your locale, but
 the site in the site's locale. But it's not that easy unfortunately.
 Follow #38643 on that topic.

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


More information about the wp-trac mailing list