Logo Microtux

MicroTux

User-Specific Language Setting for the Admin

03-03-2019

A user-specific language setting makes it possible to run a WordPress site in one language on the front end and administrate it in another without all of the previous hassle. For example, if a German newspaper site has contributors from all around the world, WordPress 4.7 makes it possible for each contributor to use the admin in his or her native language. The setting is available as a language dropdown on the user profile edit screen at wp-admin/profile.php.

admin-language-setting

The user-specific language setting comes as a result of work on a two-year-old ticket and contributors’ discussions at several European WordCamps during the past few years. It introduces a new get_user_locale() function that plugin developers will want to be aware of, especially those who have built other solutions that allow users to set a language for the admin.