From owner-freebsd-i18n@FreeBSD.ORG Wed Apr 23 06:05:00 2003 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 319C437B401 for ; Wed, 23 Apr 2003 06:05:00 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id E296B43F3F for ; Wed, 23 Apr 2003 06:04:53 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h3NFDQu2095131; Wed, 23 Apr 2003 15:13:27 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h3NDBKEP028150; Wed, 23 Apr 2003 16:11:20 +0300 (EEST) (envelope-from ml) Date: Wed, 23 Apr 2003 16:11:20 +0300 From: Alexey Zelkin To: lists-freebsd-i18n@biaix.org Message-ID: <20030423161120.A28072@phantom.cris.net> References: <20030422151739.GA2097@grummit.biaix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030422151739.GA2097@grummit.biaix.org>; from lists-freebsd-i18n@biaix.org on Tue, Apr 22, 2003 at 05:17:39PM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: i18n@freebsd.org Subject: Re: [incomplete PATCH] help needed with misc/45874 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: Wed, 23 Apr 2003 13:05:00 -0000 On Tue, Apr 22, 2003 at 05:17:39PM +0200, Joan Picanyol i Puig wrote: > [please honour Mail-Followup-To:, not subscribed] > > Hi, > > I submitted misc/45874, but did not quite make it :( > > My patch modified some Makefiles in /usr/src/share/ and provided the > translations I deemed necessary. However, applying the patch does not > work :( The directory structure is not created, at least there's > /usr/src/etc/locale.alias to be completed (I'm attaching a diff of my > share and etc directories). > > I'm relatively new to FreeBSD and I'm not acquainted with it's sources, > and I ask: > > 1. What files do I need to modify to make buildworld create the ca_ES > locale (to effectively add it to FreeBSD)? src/etc/mtree/... to create directories for new locale files btw, you also missed 'mklocale' stuff (which also have to be done for new locale) -- src/share/mklocale > 2. What's the difference between the different naming conventions for > ISO[_-]*8859-15 files? Which one should I use? ISO8859 is default one, others are compat leftovers. > Index: share/colldef/Makefile > =================================================================== > RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/colldef/Makefile,v > retrieving revision 1.32.2.11 > diff -u -3 -p -r1.32.2.11 Makefile > --- share/colldef/Makefile 17 Aug 2002 19:14:44 -0000 1.32.2.11 > +++ share/colldef/Makefile 6 Dec 2002 17:49:37 -0000 > @@ -11,6 +11,8 @@ LOCALES= bg_BG.CP1251 \ > el_GR.ISO8859-7 \ > es_ES.ISO8859-1 \ > es_ES.ISO8859-15 \ > + ca_ES.ISO8859-15 \ Looks like you wanted to use '-1' suffix here > + ca_ES.ISO8859-15 \ > et_EE.ISO8859-15 \ > hi_IN.ISCII-DEV \ > is_IS.ISO8859-1 \ > @@ -57,7 +59,9 @@ de_DE.ISO8859-15.out: map.ISO8859-15 > de_DE.ISO8859-1.out: map.ISO8859-1 > el_GR.ISO8859-7.out: map.ISO8859-7 > es_ES.ISO8859-15.out: map.ISO8859-15 > +ca_ES.ISO8859-15.out: map.ISO8859-15 > es_ES.ISO8859-1.out: map.ISO8859-1 > +ca_ES.ISO8859-1.out: map.ISO8859-1 > et_EE.ISO8859-15.out: map.ISO8859-15 > hi_IN.ISCII-DEV.out: map.ISCII-DEV > is_IS.ISO8859-15.out: map.ISO8859-15 > Index: share/monetdef/Makefile > =================================================================== > RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/monetdef/Makefile,v > retrieving revision 1.37.2.3 > diff -u -3 -p -r1.37.2.3 Makefile [..] > Index: share/msgdef/Makefile > =================================================================== > RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/msgdef/Makefile,v > retrieving revision 1.38.2.3 > diff -u -3 -p -r1.38.2.3 Makefile > --- share/msgdef/Makefile 17 Aug 2002 19:30:37 -0000 1.38.2.3 > +++ share/msgdef/Makefile 6 Dec 2002 17:49:37 -0000 > @@ -13,6 +13,7 @@ LOCALES= af_ZA.ISO8859-1 \ > en_GB.ISO8859-1 \ > en_US.ISO8859-1 \ > es_ES.ISO8859-1 \ > + ca_ES.ISO8859-1 \ Hmm.. What about '-15' here ? > et_EE.ISO8859-15 \ > fi_FI.ISO8859-1 \ > fr_BE.ISO8859-1 \ > Index: share/numericdef/Makefile > =================================================================== > RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/numericdef/Makefile,v > retrieving revision 1.36.2.3 > diff -u -3 -p -r1.36.2.3 Makefile > --- share/numericdef/Makefile 17 Aug 2002 19:34:11 -0000 1.36.2.3 > +++ share/numericdef/Makefile 6 Dec 2002 17:49:37 -0000 > @@ -11,6 +11,7 @@ LOCALES= af_ZA.ISO8859-1 \ > el_GR.ISO8859-7 \ > en_US.ISO8859-1 \ > es_ES.ISO8859-1 \ > + ca_ES.ISO8859-1 \ Same as before. > et_EE.ISO8859-15 \ > fi_FI.ISO8859-1 \ > fr_BE.ISO8859-1 \ > Index: share/timedef/Makefile > =================================================================== > RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/timedef/Makefile,v > retrieving revision 1.11.2.11 > diff -u -3 -p -r1.11.2.11 Makefile > --- share/timedef/Makefile 17 Aug 2002 19:25:45 -0000 1.11.2.11 > +++ share/timedef/Makefile 6 Dec 2002 17:49:37 -0000 [..] > Index: etc/locale.alias > =================================================================== > RCS file: /fs/bulk/mount/FreeBSD/CVS/src/etc/locale.alias,v > retrieving revision 1.7.2.6 > diff -u -3 -p -r1.7.2.6 locale.alias > --- etc/locale.alias 15 Apr 2002 00:44:13 -0000 1.7.2.6 > +++ etc/locale.alias 7 Dec 2002 20:40:23 -0000 [..]