Make WordPress Core

Opened 3 years ago

Last modified 11 months ago

#38665 new enhancement

Add user language preference to 'Add new user' form

Reported by: barryceelen Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.7
Component: I18N Keywords: has-patch needs-testing needs-refresh
Focuses: administration Cc:


Existing users can select an admin language. Perhaps allow preselecting a language on the user edit screen may be helpful.

Attachments (1)

38665.diff (2.4 KB) - added by barryceelen 3 years ago.

Download all attachments as: .zip

Change History (7)

#1 @johnbillion
3 years ago

  • Keywords needs-patch added

Makes sense. We did the same thing for sites in #33528.

This ticket was mentioned in Slack in #core by johnbillion. View the logs.

3 years ago

#3 @ocean90
3 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Type changed from feature request to enhancement

3 years ago

#4 @barryceelen
3 years ago

  • Keywords has-patch added; needs-patch removed

38665.diff adds the language dropdown to the 'Add User' form.

Setting $user->locale is moved outside of the $update conditional.
Also removes setting $user->locale = ''. Unsure why that was there in the first place?

The language select is only shown if !is_multisite(). Is that correct?

Last edited 3 years ago by barryceelen (previous) (diff)

#5 @johnbillion
3 years ago

  • Focuses administration added
  • Keywords needs-testing added

Need to consider that there's also the ability to add a user to a site from the Network Admin -> Sites -> Edit -> Users screen.

#6 @desrosj
11 months ago

  • Keywords needs-refresh added

The most recent patch needs to be refreshed.

Note: See TracTickets for help on using tickets.