[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 10:11:29 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):

 It seems to me that both tickets are about the same issue, let‘s close the
 other one as a duplicate.

 The user language setting is not going away, nor is the regular site
 language setting.

 A setting for the default admin language is useful for admin notifications
 and as a default if the user hasn‘t set one, so that sounds reasonable.

 It requires some UX wording in the settings page to explain what it does.

 The default admin language coukd only be changed by users with admin
 capabilities.

 Also worth noting that new languages can only be installed by users with
 the same capabilities. Others can only choose an already installed
 langusge.

 Hope that makes sense.

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


More information about the wp-trac mailing list