[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
Thu May 18 09:32:52 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 knutsp):

 Why not call this default admin language? As any user can have their own
 (admin) language, the only users affected by changing this new language
 setting for admin, are those with the their language set to admin default,
 and for new users. Or have I missed something?

 What does this really have to do with RTL/LTR? That is an attribute of the
 language, right?

 There will only be ONE language set for a (logged in) user, but the front
 will show in site language. The administrator will select a site (front
 end) language and a default admin language. Som reports (emails) goes to
 user, some to admin email. So either user language, or the new default
 admin language.

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


More information about the wp-trac mailing list