After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547207 - Correct sorting of languages
Correct sorting of languages
Status: RESOLVED DUPLICATE of bug 535205
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-08-10 22:40 UTC by Gil Forcada
Modified: 2009-01-14 09:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gil Forcada 2008-08-10 22:40:29 UTC
In the languages view, i.e. http://l10n.gnome.org/languages the languages has been sorted by English version, but when you see the page localized the languages are out of order.
Comment 1 Gil Forcada 2008-08-10 22:46:06 UTC
Ok, it's sorted correctly, but the diacritics are counted as a different letter and they end up after Z languages, i.e.
#  Xosa
# Yoruba
# Zulu
# Àrab
# Àzeri
# Àzeri iranià

Àrab (Arabic), Àzeri (Azerbaijani) and Àzeri iranià (Iranian Azerbaijani).

Maybe it's because they are considered normal strings instead of utf-8 strings? Haven't dig it, but seems like it's this.
Comment 2 Gil Forcada 2008-08-10 22:50:07 UTC
That's weird (in an interactive Python shell):

>>> bla = ['hola', 'com', u'estàs', 'avui', 'zulu', u'àra']
>>> bla.sort()
>>> bla
['avui', 'com', u'est\xe0s', 'hola', 'zulu', u'\xe0ra']

Is able Python to sort correctly with utf-8 characters inside?
Comment 3 Theppitak Karoonboonyanan 2009-01-14 09:05:03 UTC
Sounds like the same problem as Bug #535205.
Comment 4 Claude Paroz 2009-01-14 09:31:49 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 535205 ***