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

WordPress Trac noreply at wordpress.org
Thu Jul 31 16:47:37 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:  has-patch       |     Focuses:
----------------------------+------------------

Comment (by charlestonsw):

 This is how the language selector is appearing in Firefox ESR 24.7.0
 (latest rev on CentOS 6.5).

 [[Image(http://www.charlestonsw.com/wp-content/uploads/2014/07/WP4
 -Install-Language-Selector-FF-on-Linux.png)]]

 '''What fixed it on my box?'''

 Adding a wrapper div around the fieldset and setting THAT CSS rule to
 overflow: auto; worked.

 in wp-admin/includes/upgrade.php @ wp_install_language_form() add: echo
 "<div id='language_selector'>"; just before the echo "<fieldset>\n" and
 close it out with echo "</div>" after the closing fieldset in the same
 function.

 CSS rule added to install.css
 .language-chooser #language_selector {
     overflow: auto;
 }

 CSS rule modified in install.css
 .language-chooser fieldset {
    margin: 1px 1px 0;
 }


 '''What did NOT work'''

 The problem looks like a FF bug but there are no newer patches for the ESR
 version at this point.

 The Mozilla-specific CSS hack to hides fieldset overflow but does not
 render the scrollbar.

 /wp-admin/css/install.min.css?ver=4.0-beta2-20140720

 .language-chooser fieldset {
    overflow: -moz-hidden-unscrollable;
 }

 overflow: auto;
 overflow: scroll;
 overflow-y: auto;
 overflow-y: scroll;

 And a myriad of other options are not helpful.




 HTH.

 - Lance

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


More information about the wp-trac mailing list