[wp-trac] [WordPress Trac] #49971: Add get_admin_locale() that is separate from WPLANG / get_locale() / get_user_locale()
WordPress Trac
noreply at wordpress.org
Tue May 16 09:50:40 UTC 2023
#49971: Add get_admin_locale() that is separate from WPLANG / get_locale() /
get_user_locale()
-------------------------+-------------------------------------------------
Reporter: apedog | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui, accessibility, rtl,
| administration
-------------------------+-------------------------------------------------
Comment (by swissspidy):
Yes I see where you added the language selector, thanks.
My question is just: when you select the language, what happens? What is
now displayed in this new language?
Right now the user language is used for the admin, the site language for
the frontend.
Is the suggestion that this new field would be used for the admin _as long
as the user has not changed their language_?
That sounds a bit confusing to me, as per my example above: Let's say my
site language is es_ES and my user language is de_DE. Now I change the
admin language to fr_FR. What is now displayed in fr_FR?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49971#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list