Hi Friedel,
On 2008년 08월 28일 오후 05:32, F Wolff wrote:
>> 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?
>>
> 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.
>
Thanks for testing.
For the languages in the script look sorted by English alphabet
regardless of Korean alphabetical ordering.
Bengali
불가리아어 ->Bulgarian
Burmese
중국어 (중국) ->Cinese (China)
중국어 (타이완) -> Cinese (Taiwan)
체크어 (Czech)
Ukrainian
However, when I add a new language(Vietnamese), the list doesn't follow
even the above rule. :(
Bengali
불가리아어
Burmese
중국어 (중국) ->Cinese (China)
베트남어 -> Vietnamese
중국어 (타이완) -> Cinese (Taiwan)
체크어
Ukrainian
Yes, it seems that something works differently between Solaris and Linux.
I'll look into this more.
Thanks,
Aijin
>
>
> #!/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
>
-------------------------------------------------------------------------
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