rajeev joseph sebastian wrote:
> But I noticed that in Konqueror filemanager, English
> file names are sorted after (in ascending order of
> length of the string), and after the correctly sorted
> Malayalam file names.

Do you know whether konqueror is using the function QString::compare or
QString::localeAwareCompare ?

I would base my tests on the "sort" program from recent coreutils, because
for this program I know that it uses your locale's data through the strcoll()
and strxfrm() functions.

> Can I also include multiple locales
> (say for hi_IN, mr_IN, etc) and also define the
> relative order between them ? Can the orders of some
> symbols which exist in more than one locale, to be
> overridden by the current one ?

The sorting order is based on the currently locale only, and thus specified
in a single locale file.

There are mechanisms for using multiple languages in translations
(locale facet LC_MESSAGES), namely the LANGUAGE environment variable, but it
has no influence on sorting.

Bruno


--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to