On Do, 2008-08-28 at 12:46 +0800, Aijin Kim wrote:
> On 2008년 08월 27일 오후 09:55, F Wolff wrote:

... 

> Thanks Friedel.
> Now, Korean is completely translated.

Thank you Aijin! The list of languages at 100%:
af, ru, gl, tr, fr, ko


> I have one question while looking around the Pootle server.
> Languages seems to be randomly listed and mixed of localized and 
> unlocalized strings in OO.o Pootle server 
> (http://pootle.sunvirtuallab.com), while it is ok in pootle.locamotion.org.
> How can I get a correct alphabetical ordering?


I can't say with certainty why this is different. I am reasonably sure
that the platform (Solaris) might have something to do with it. You can
play with the python script below, and see what it gives. On my system,
when the Korean locale is not installed, and the script fails. Using
'en' instead of 'ko', the sorting is then done similarly to the way you
see on the locamotion.org server.

When I install the Korean locale on my system, it affects the sorting,
but I still don't get the mixed sorting as I get on Solaris. By the way,
is there any order/logic to the mixed sorting? I see "불가리아
어" (Bulgarian) between the untranslated "Burmese" and "Bengali" - so it
seems as if it is somehow sorting phonetically - not just mixed up
randomly.



#!/usr/bin/env python
# -*- coding: utf-8 -*-
import locale
list = u"Ukrainian, 체크어, 중국어 (타이완), 중국어 (중국), Burmese, 불가리아어, Bengali".split(', 
')
locale.setlocale(locale.LC_ALL, "ko")
list.sort(cmp=locale.strcoll)
for l in list:
    print l.encode('utf-8')


My output with the Korean locale (Linux):
Bengali
Burmese
Ukrainian
불가리아어
중국어 (중국)
중국어 (타이완)
체크어

My output with the French locale (Linux):
체크어
중국어 (중국)
중국어 (타이완)
불가리아어
Bengali
Burmese
Ukrainian

My output with the Korean locale (Solaris):
Bengali
불가리아어
Burmese
중국어 (중국)
중국어 (타이완)
체크어
Ukrainian

My output with the French locale (Solaris):
Bengali
불가리아어
Burmese
중국어 (중국)
중국어 (타이완)
체크어
Ukrainian


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to