From owner-freebsd-i18n Sat Jan 27 5:53: 9 2001 Delivered-To: freebsd-i18n@freebsd.org Received: from mx.globalone.ru (mx.globalone.ru [194.84.254.251]) by hub.freebsd.org (Postfix) with ESMTP id B8FC037B401 for ; Sat, 27 Jan 2001 05:52:51 -0800 (PST) Received: from hq.globalone.ru (hq.globalone.ru [172.16.38.1]) by mx.globalone.ru (8.11.1/8.11.1) with ESMTP id f0RDqjm20195 for ; Sat, 27 Jan 2001 16:52:46 +0300 Received: from host205.spb.in.rosprint.ru ([172.17.13.205]) by hq.globalone.ru (Netscape Messaging Server 4.15) with SMTP id G7TQJW00.914 for ; Sat, 27 Jan 2001 16:52:44 +0300 Message-ID: <069e01c08868$74c640e0$cd0d11ac@host205.spb.in.rosprint.ru> From: "Alexander Voropay" To: Subject: Re: Some questions about localization. Date: Sat, 27 Jan 2001 16:52:00 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Evgeny Dolgopiat wrote: >I have some questions about l18n of standart utilities: cp, rm and > >1. What do you think about quantity of arrays for local messages? >3) Is any common rules for l18n? For example about name of file with >messages, sequence order of messages in file (alphbetical list, order >in src, ...) and a kind of. The "localized messages" is subject of NLS subsystem, where NLS (message catalog mangetment system) is a part of whole I18N system environment. As it is known, in the *NIX world there are two main realizations of NLS : 1) X/Open XPG with catopen() [mostly obsoleted now] 2) SUN XView with gettext() / textdomain() It is recommended to use GNUgettext for all new GPL-ed projects for messages output. Just use libgettext in your proggies. New autoconf/automake utilities knows this library well, too. P.S. If you can read Russian, you could find this my page interesting : http://www.sensi.org/~alec/locale/locale_n.html -- -=AV=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message