From owner-freebsd-i18n Fri Dec 7 7: 0:51 2001 Delivered-To: freebsd-i18n@freebsd.org Received: from columbus.cris.net (columbus.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id F371B37B405 for ; Fri, 7 Dec 2001 07:00:45 -0800 (PST) Received: from ark.cris.net (ark.cris.net [212.110.128.68]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id RAA49846; Fri, 7 Dec 2001 17:00:39 +0200 (EET) Received: (from phantom@localhost) by ark.cris.net (8.11.1/8.11.1) id fB7F08s08663; Fri, 7 Dec 2001 17:00:08 +0200 (EET) Date: Fri, 7 Dec 2001 17:00:08 +0200 From: Alexey Zelkin To: "Ilmar S. Habibulin" Cc: freebsd-i18n@FreeBSD.ORG Subject: Re: i18n sample patch Message-ID: <20011207170008.A7217@ark.cris.net> References: <20011206180743.A12967@phantom.cris.net> <20011207070449.T37635-100000@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20011207070449.T37635-100000@fledge.watson.org>; from ilmar@watson.org on Fri, Dec 07, 2001 at 09:22:10AM -0500 X-Operating-System: FreeBSD 3.5-STABLE i386 Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, On Fri, Dec 07, 2001 at 09:22:10AM -0500, Ilmar S. Habibulin wrote: > > I'd rather prefer to use libintl instead of catget*() for these purposes. > > I am now thinking about importing libintl developed by Citrus project, > > currently imported to NetBSD. If you've some time please take a look > > in this area. > Well, if you mean the use of gettext()-style functions, then imho it's > simple to change patches to use it. catget*() are POSIX functions. So i > choose them. If gettext() can become standard, or can be included in > most BSD systems, then using of gettext() makes sense. NetBSD already uses own libintl for some time. It utilized for base system tools (like grep) and some pkgsrc applications. I also would prefer to see it imported in FreeBSD and update base tools to support it. My preference to use gettext() was born after attempt to convert some tools to use it (same as you did in your patch), but complexity of code required to add for each application as well as complexity of translation database maintaince stoped my effort and forced me to look to libintl. > The idea of i18n is the same, patch will be smaller. If anybody is > interested, i'll remake it for libintl. Would be cool! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message