[wp-trac] [WordPress Trac] #29783: User Admin Language

WordPress Trac noreply at wordpress.org
Wed Jul 1 07:29:50 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 zodiac1978):

 Replying to [comment:24 trialotto]:
 > [...]
 > It would be more convenient to add an WP constant with (for instance)
 the name WPADMINLANG.
 > [...]
 > In addition, the get_locale() directive can be augmented with some
 (minor) lines of code, reading both the WPLANG and the WPADMINLANG and
 passing them on to the various php files using get_locale().
 >
 > This would be a simple, fast and more flexible (!) solution, not
 requiring any heavy adjustments of code and/or change of code of all (!)
 plugins and/or creation of a new get_users_locale() directive.
 >
 > Maybe I am missing the point and/or some relevant information, but why
 does one not opt for the above or a similar solution?

 The WPLANG constant is deprecated, please see:
 https://make.wordpress.org/core/2014/09/05/language-chooser-in-4-0/

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


More information about the wp-trac mailing list