From owner-freebsd-libh Fri Jun 7 12:19:42 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mail2.qc.uunet.ca (mail2.qc.uunet.ca [198.168.54.17]) by hub.freebsd.org (Postfix) with ESMTP id 9FE8737B405; Fri, 7 Jun 2002 12:19:38 -0700 (PDT) Received: from xtanbul ([216.94.147.34]) by mail2.qc.uunet.ca (8.9.3/8.9.3) with ESMTP id PAA29731; Fri, 7 Jun 2002 15:19:27 -0400 Date: Fri, 7 Jun 2002 15:17:13 -0400 Subject: internationalisation work can now begin (Re: cvs commit: www progress.html) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: libh@FreeBSD.org, Alexey Zelkin To: =?ISO-8859-1?Q?Antoine_Beaupr=E9?= From: Antoine Beaupre In-Reply-To: <20020607190711.AC6B61742F@usw4.freebsd.org> Message-Id: <2C176E30-7A4B-11D6-8281-0050E4A0BB3F@anarcat.ath.cx> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG My apologies to the project and Alexey, After stumbling upon setlocale(3), I found a reference to catopen(3) and=20= childs, and finally figured out there is plenty of message catalog=20 support in FreeBSD (we don't need a gettext substitute, we already have=20= one!). So we can start translation of the libh output. This will not be easy, but I think it will be a good thing. I will start=20= taking a look at how to do this soon, but if anyone has suggestions, I'm=20= a taker. One of the first things to do would be to create a _() macro that would=20= use catgets() to return messages wherever necessary, and that might=20 include the .cd.cc files which undoubtedly cause a big translation=20 problem. Same for any TCL script. Also note that I don't intend to make boot floppies carry all=20 languages. :) That will have to be language-specific distros. I thought I had avoided that issue elegantly. ;) A. Le vendredi 7 juin 2002, =E0 03:07 PM, Antoine Beaupr=E9 a =E9crit : > antoine 2002/06/07 14:07:11 CDT > > Modified files: > . progress.html > Log: > There is full catalog support in FreeBSD. > > Absurd reference to CITRUS noted by: phantom > Pointy hat to: anarcat > > Revision Changes Path > 1.7 +1 -1 www/progress.html > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message