Last modified: 2012-05-04 17:22:08 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 T35493, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33493 - language list in setting not sorted by language name
language list in setting not sorted by language name
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Localization/Translation/Language (Other open bugs)
1.0.0 (Android)
All All
: High major
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: 33855
  Show dependency treegraph
 
Reported: 2012-01-03 21:02 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-05-04 17:22 UTC (History)
7 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-01-03 21:02:08 UTC
When setting the app language preference, the language list looks wrongly sorted:

...
Na Vosa Vakaviti
Foroyskt
Français
Arpetan
Nordfriisk
Furlan
...

This is because you sort according to ISO code, not by language Name. Na Vosa Vakaviti code is FJ, Nordfriisk is FRR.

That is easy to handle for roman / cyrilic scripts. I am not sure where to place Arabic / Farsi ... scripts though :(

Version: nightly build
Android 2.3.7 / Cyanogen 7.2
Comment 1 Brion Vibber 2012-01-03 22:17:01 UTC
If we do a naive string sort, that will be "sort of but not entirely mostly right" within many scripts, and will order scripts by their Unicode order. Not convinced how useful that result would be...
Comment 2 Mark A. Hershberger 2012-01-05 01:42:38 UTC
I like the way they're sorted at the top of https://meta.wikimedia.org/wiki/List_of_Wikipedias:

Languages: Alemannisch (als) · Ænglisc (ang) · العربية (ar) · سنڌي (sd) · Azərbaycanca (az) · Български (bg) · Bahasa Banjar (bjn) · বাংলা (bn) · Català (ca) · Česky (cs) · Словѣ́ньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ (cu) · Deutsch (de) · Ελληνικά (el) · English (en) · Esperanto (eo) · Español (es) · فارسی (fa) · Suomi (fi) · Français (fr) · ગુજરાતી (gu) · עברית (he) · हिन्दी (hi) · Հայերեն (hy) · Bahasa Indonesia (id) · मराठी (mr) · Italiano (it) · 日本語 (ja) · Basa Jawa (jv) · ქართული (ka) · 한국어 (ko) · Latviešu (lv) · Lietuvių (lt) · Magyar (hu) · Bahasa Melayu (ms) · Македонски (mk) · مازِرونی (mzn) · नेपाल भाषा (new) · नेपाली (ne) · ਪੰਜਾਬੀ (pa) · Polski (pl) · پښتو (ps) · Português (pt) · Română (ro) · Русский (ru) · Svenska (sv) · தமிழ் (ta) · ไทย (th) · Türkçe (tr) · Українська (uk) · Tiếng Việt (vi) · Yorùbá (yo) · 中文 (zh) · Zazaki (diq) ·
Comment 3 Phil Chang 2012-01-24 17:06:03 UTC
Let's go with the meta list.
Comment 4 Yuvi Panda 2012-01-25 23:00:43 UTC
I like 'order by number of articles' that the tables below show. Is that list manually maintained or autogenerated from somewhere?
Comment 5 Amir E. Aharoni 2012-01-25 23:08:37 UTC
Showing it by the same order as they appear in the article would be the most sensible solution now. Editors communities in some languages requested a particular order that would be useful for the readers in the respective languages.

See also:
https://meta.wikimedia.org/wiki/Interwiki_sorting_order

On the other hand, this can be discussed again.
Comment 6 Yuvi Panda 2012-01-25 23:15:04 UTC
@Amir: This is how we currently show it in the 'Read in' view, I'm guessing it can be adapted for language settings too.
Comment 7 Amir E. Aharoni 2012-01-25 23:19:36 UTC
(In reply to comment #6)
> @Amir: This is how we currently show it in the 'Read in' view, I'm guessing it
> can be adapted for language settings too.

Oh! I'm confused then; i thought that this bug is about the articles.

For the preferences it's indeed harder and it's not the first time it comes up either. It's relevant for MediaWiki user preferences, too, and for many other things.

I'll try to think of more options, but there will always be somebody who won't like it...
Comment 8 Yuvi Panda 2012-01-25 23:27:29 UTC
Not for v1.1.
Comment 9 Antoine "hashar" Musso (WMF) 2012-02-20 09:19:50 UTC
There is design study at https://www.mediawiki.org/wiki/Universal_Language_Selector_Mobile  so this bug is making progress!
Comment 10 Amir E. Aharoni 2012-05-02 06:53:56 UTC
I think that before 1.2 beta it used to be sorted according to language code, or at least according to something. Now it appears to be completely random:

Cebuano (ceb)
Yoruba (yo)
German (de)
Danish (da)
French (fr)
Dzongkha (dz)

It should be sorted by something, otherwise it's way too hard to choose a language.
Comment 11 Yuvi Panda 2012-05-04 17:22:08 UTC
This has been fixed, is sorted in Unicode order now.

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


Navigation
Links