Last modified: 2013-07-30 00:10:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43266, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41266 - Installer defaults to zh language
Installer defaults to zh language
Status: NEW
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.21.x
All Mac OS X 10.8
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-22 06:43 UTC by Matthew Bowker
Modified: 2013-07-30 00:10 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Bowker 2012-10-22 06:43:05 UTC
Running a new installation of 1.21alpha on localhost, the default language of the first screen in zh, rendering it unusable for most people using western languages.  Would it be possible to check the user's language from the browser and adapt the language selections based on that?
Comment 1 Chad H. 2012-10-22 11:10:59 UTC
(In reply to comment #0)
> Running a new installation of 1.21alpha on localhost, the default language of
> the first screen in zh, rendering it unusable for most people using western
> languages.  Would it be possible to check the user's language from the browser
> and adapt the language selections based on that?

It defaults to accept-language headers, to help you pick an appropriate language.

Defaults to english for me.
Comment 2 Matthew Bowker 2012-10-27 05:38:04 UTC
Hmm... strange.  It might be a "localhost" thing, too.  

BTW, since I didn't explain it in my initial report, I'm running Mac OSX 10.8.2, Firefox (nightly) 19.0a1.  Server: Apache 2.4.3, MySQL 5.5.28, PHP 5.4.7.
Comment 3 Matthew Bowker 2013-04-11 17:57:20 UTC
Further clarification: I just tried it with my newest MediaWiki (1.20.3).  My $_SERVER["HTTP_ACCEPT_LANGUAGE"] is set to "en-US,en;q=0.5", and I'm still getting zh.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links