[wp-trac] [WordPress Trac] #43700: Language switcher on the login screen

WordPress Trac noreply at wordpress.org
Thu Apr 5 15:15:22 UTC 2018


#43700: Language switcher on the login screen
-------------------------+------------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  I18N         |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------
Description changed by johnbillion:

Old description:

> Since [41692] it's possible to control the language of the login screen
> using the `wp_lang` query variable (eg. `wp-login.php?wp_lang=it_IT`).
> This is a hidden feature that's only used by the interim login modal.
>
> A language switcher should be introduced on the login screen that makes
> use of this so users can use the login screen, the password reset
> screens, and the registration screen in their own language. The behaviour
> would be the same as the language choosers that are used elsewhere in
> core, for example on the General Settings screen and on the Multisite
> registration screens.
>
> One thing that needs to be considered is how the language persists
> between screens and whether it should persist in user meta once the user
> successfully logs in. Suggestions welcome.

New description:

 Since [41692] it's possible to control the language of the login screen
 using the `wp_lang` query variable (eg. `wp-login.php?wp_lang=it_IT`).
 This is a hidden feature that's only used by the interim login modal.

 A language switcher should be introduced on the login screen that makes
 use of this so users can use the login screen, the password reset screens,
 and the registration screen in their own language. The behaviour would be
 the same as the language choosers that are used elsewhere in core, for
 example on the General Settings screen and on the Multisite registration
 screens.

 One thing that needs to be considered is how the language persists between
 screens, how to persist POSTed values such as `redirect_to`, and whether
 it should persist in user meta once the user successfully logs in.
 Suggestions welcome.

--

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


More information about the wp-trac mailing list