[wp-trac] [WordPress Trac] #28577: Allow language to be chosen during initial install

WordPress Trac noreply at wordpress.org
Thu Jun 19 18:28:00 UTC 2014


#28577: Allow language to be chosen during initial install
----------------------------+------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  I18N            |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+------------------

Comment (by nacin):

 Replying to [comment:9 johnbillion]:
 > What should happen if `WPLANG` is already set to a non-default value
 when running the installer? Should we skip the language selection, or
 should it still be shown but with that language pre-selected?

 Shown pre-selected. This is part of the suggestions work.

 > Subsequently, will we see issues if the `WPLANG` constant is set to one
 language, but the site gets installed with another so the
 `get_option('WPLANG')` ends up being different? (Thinking of plugins that
 use `WPLANG` directly instead of `get_option('WPLANG')`.

 Plugins using should be using get_locale(). Neither of these are valid to
 use.

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


More information about the wp-trac mailing list