From owner-freebsd-i18n@FreeBSD.ORG Fri Jan 23 11:27:40 2004 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6364C16A4CE for ; Fri, 23 Jan 2004 11:27:40 -0800 (PST) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F62D43D2F for ; Fri, 23 Jan 2004 11:27:35 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.216.227) by smtp02.syd.iprimus.net.au (7.0.024) id 4011464400002594; Sat, 24 Jan 2004 06:16:01 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id A9BB5415A; Sat, 24 Jan 2004 06:18:18 +1100 (EST) Date: Sat, 24 Jan 2004 06:18:18 +1100 From: Tim Robbins To: Daniel Ortiz Message-ID: <20040123191818.GA65884@cat.robbins.dropbear.id.au> References: <20040122103636.GA188@in.ilimit.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040122103636.GA188@in.ilimit.es> User-Agent: Mutt/1.4.1i cc: freebsd-i18n@freebsd.org Subject: Re: How generate certain locales X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 19:27:40 -0000 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