Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2004 06:18:18 +1100
From:      Tim Robbins <tjr@freebsd.org>
To:        Daniel Ortiz <d.ortiz@in.ilimit.es>
Cc:        freebsd-i18n@freebsd.org
Subject:   Re: How generate certain locales
Message-ID:  <20040123191818.GA65884@cat.robbins.dropbear.id.au>
In-Reply-To: <20040122103636.GA188@in.ilimit.es>
References:  <20040122103636.GA188@in.ilimit.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 22, 2004 at 11:36:36AM +0100, Daniel Ortiz wrote:

> Hi,
> I've looking on handbook and google for a howto for generate certain
> locales like ca_ES and ca_ES@euro but I don't know how to do it, in
> linux I only make this: 
> 	'gzip -d /usr/share/i18n/charmaps/ISO-8859-15.gz'
> 	'localedef -i ca_ES -f ISO-8859-15 /etc/locale/ca_ES'
> 
> Wich are the steps?

FreeBSD uses two utilities to generate locale data files: mklocale generates
LC_CTYPE files, and colldef generates LC_COLLATE files. The rest are text
files, which are written by hand. FreeBSD 5.1 and later already come with
two ca_ES locales: ca_ES.ISO8859-1 and ca_ES.ISO8859-15. The easiest way
to get these locales on an earlier release would probably be to copy
/usr/share/locale/ca_ES* from a 5.1/5.2 system. The alternative is to
check out the relevant files from CVS and run mklocale/colldef manually.


Tim


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040123191818.GA65884>