https://bugzilla.wikimedia.org/show_bug.cgi?id=31457

--- Comment #4 from herman wong <herman.w...@nitobi.com> 2011-10-25 22:45:09 
UTC ---
can you provide some more details on how you were able to get it to build the
url with the "en-us"?

was it on initial load of a new build? which browser are you using?

on the app's initial load (if the user hasn't set a locale before) the app uses
navigator.language to determine the language code to use when building out the
url. in the default android browser (android 2.3.6) it is returning "en".

when the locale is changed in the settings it is using the code property of the
locale which is returned in the api call from
http://en.wikipedia.org/w/api.php?action=sitematrix&format=json

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to