[rajeev joseph sebastian] Implementing locales in Linux

Danilo Segan dsegan@gmx.net
Sun Feb 13 19:52:00 GMT 2005

Hi Rajeev,

I think this is more suitable for libc-locales list (CCed, strip
linux-utf8 list in replies).

Also try http://www.student.uit.no/~pere/linux/glibc/ for some tips in
creating locales. 


<#mml type=message/rfc822 disposition=inline>
Return-Path: <linux-utf8-bounce@nl.linux.org>
X-Original-To: danilo@localhost
Delivered-To: danilo@localhost
Received: from localhost (localhost.localdomain [])
	by avet.kvota.net (Postfix) with ESMTP id 19AFF7C044
	for <danilo@localhost>; Sun, 13 Feb 2005 18:44:06 +0100 (CET)
X-Flags: 0000
Delivered-To: GMX delivery to dsegan@gmx.net
Received: from mail.gmx.net
	by localhost with POP3 (fetchmail-6.2.5)
	for danilo@localhost (single-drop); Sun, 13 Feb 2005 18:44:06 +0100 (CET)
Received: (qmail invoked by alias); 13 Feb 2005 17:39:03 -0000
Received: from humbolt.leper.phil.uu.nl (EHLO humbolt.nl.linux.org) (
  by mx0.gmx.net (mx063) with SMTP; 13 Feb 2005 18:39:03 +0100
Received: from localhost ([] helo=humbolt)
	by humbolt.nl.linux.org with esmtp (Exim 4.22)
	id 1D0Ni1-0001D1-QC; Sun, 13 Feb 2005 18:39:01 +0100
Received: with ECARTIS (v1.0.0; list linux-utf8); Sun, 13 Feb 2005 18:38:03 +0100 (CET)
Received: from web60606.mail.yahoo.com ([])
	by humbolt.nl.linux.org with smtp (Exim 4.22)
	id 1D0Ngq-00014Q-TY
	for linux-utf8@nl.linux.org; Sun, 13 Feb 2005 18:37:49 +0100
Received: (qmail 87966 invoked by uid 60001); 13 Feb 2005 17:37:20 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  b=lZ6zkxf0s/c8NIgCviX5fwMHzQEPYTd7G7JB7w4HDhav42O/Om5WCpVDWlGdJfpGmP1wC+IEqtZDjt2PzZBhnXkV/MRGQ66UZPcCwQP3PR8660ObC+PBiPIc+csqjmV9Ovy1OH6s3pR4ynApqO0bTsK6oX+TiEF/6QXGd3Uiv/o=  ;
Message-ID: <20050213173720.87964.qmail@web60606.mail.yahoo.com>
Received: from [] by web60606.mail.yahoo.com via HTTP; Sun, 13 Feb 2005 09:37:20 PST
Date: Sun, 13 Feb 2005 09:37:20 -0800 (PST)
From: rajeev joseph sebastian <rajeev_jsv@yahoo.com>
Subject: Implementing locales in Linux
To: linux-utf8@nl.linux.org
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=no 
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on 
X-ecartis-version: Ecartis v1.0.0
Sender: linux-utf8-bounce@nl.linux.org
Errors-To: linux-utf8-bounce@nl.linux.org
X-original-sender: rajeev_jsv@yahoo.com
Precedence: bulk
Reply-To: linux-utf8@nl.linux.org
List-help: <mailto:ecartis@nl.linux.org?Subject=help>
List-unsubscribe: <mailto:linux-utf8-request@nl.linux.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: <linux-utf8.nl.linux.org>
X-List-ID: <linux-utf8.nl.linux.org>
List-subscribe: <mailto:linux-utf8-request@nl.linux.org?Subject=subscribe>
List-owner: <mailto:ecartis-owner@nl.linux.org>
List-post: <mailto:linux-utf8@nl.linux.org>
List-archive: <http://mail.nl.linux.org/linux-utf8/>
X-list: linux-utf8
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Antispam: 0 (Mail was not recognized as spam)


I am Rajeev J Sebastian, and I have many doubts
regarding the implementation of locales. I am running
Debian Sarge.

What I need to do is, be able to decide the order of
languages and also to includes other locales. 

In detail:

I am writing an ml_IN (Malayalam, India) locale,
(currently testing collation). With the collation
specification, I made based on others, I installed the
locale, and started using it.

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. 

I think, this is because in the collation
specification, the last symbol in the order is
UNDEFINED, and  I have not defined the order for latin

So - how do I include the system collation spec for
say en_US into my ml_IN and still retain my collation
for malayalam ? 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 ?

Rajeev J Sebastian

Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.

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


More information about the Libc-locales mailing list