[wp-trac] [WordPress Trac] #29783: User Admin Language
WordPress Trac
noreply at wordpress.org
Fri Jul 3 15:28:41 UTC 2015
#29783: User Admin Language
-----------------------------------+-----------------------------
Reporter: faevilangel | Owner: ocean90
Type: feature request | Status: assigned
Priority: normal | Milestone: Future Release
Component: I18N | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: administration
-----------------------------------+-----------------------------
Comment (by trialotto):
Replying to [comment:27 GregLone]:
> @ocean90
> Related: #32879
@GregLone (and @ocean90),
Thanks for the hint to some elegant code, that can resolve some or most
issues.
I am still seeing a problem: loading locales and changing them immediately
is not "good practice", as opposed to loading the correct locale
immediately.
Sure, when switching is required, the code can suffice, but the current
core code can also do a lot.
Furthermore, I see another (general) problem: plugin locales.
To illustrate, it often is the case that a (international) company uses
and/or desires various site languages, one admin panel language (with
possibilities to switch languages from time to time) AND various plugin
languages.
For instance, english admin and site language, but french language for the
local shipment provider.
At this moment, WordPress is only supporting this type of common business
scenario´s with (in essence) hard coded hacks (of WP core code, in the
form of additional functions and filters, or of plugin code).
If one is going to alter locale setting options, one can easily take into
account that WordPress has to be flexible enough to allow for all possible
scenario´s.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29783#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list