[wp-trac] [WordPress Trac] #35403: Add support for a separate admin language
WordPress Trac
noreply at wordpress.org
Mon Jan 11 14:54:19 UTC 2016
#35403: Add support for a separate admin language
--------------------------------+-----------------------------
Reporter: rasmusbe | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
I would like to suggest a change to use separate language switchers for
the site and the admin pages.
'''Use case:'''
An english speaking administator is managing a swedish site. The content
is created by an swedish speaking translator, but the english speaking
administrator also has to use the site. Right now both the site and the
admin pages has to be in swedish which makes it hard for the administrator
to use the interface.
'''Proposed changes:'''
- The admin interface uses a function ''get_admin_locale'' instead of
get_locale. ''get_admin_locale'' gets its setting from an option with key
ADMINLANG, but falls back to WPLANG option if missing.
- A filter ''admin_locale'' is used in the ''get_admin_locale'' function
to support extended functionality. (For example user specific settings)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35403>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list