Received: from spf3.us4.outblaze.com (spf3.us4.outblaze.com [205.158.62.25]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iB6JiVLV021326 for ; Mon, 6 Dec 2004 19:44:31 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf3.us4.outblaze.com (Postfix) with ESMTP id 91A705382A for ; Mon, 6 Dec 2004 19:44:26 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbOwK-0005lY-2G for migo@homemail.com; Mon, 06 Dec 2004 14:54:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbOvh-0005fV-Iv for gnu-arch-users@gnu.org; Mon, 06 Dec 2004 14:53:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbOve-0005dz-H2 for gnu-arch-users@gnu.org; Mon, 06 Dec 2004 14:53:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbOve-0005df-De for gnu-arch-users@gnu.org; Mon, 06 Dec 2004 14:53:50 -0500 Received: from [129.255.60.186] (helo=ct.radiology.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbOlh-0006PF-71 for gnu-arch-users@gnu.org; Mon, 06 Dec 2004 14:43:33 -0500 Received: from [129.255.60.45] (toltec.radiology.uiowa.edu [129.255.60.45]) by ct.radiology.uiowa.edu (8.11.6/8.11.6) with ESMTP id iB6JhV308097; Mon, 6 Dec 2004 13:43:31 -0600 Message-ID: <41B4B662.1030908@arbash-meinel.com> Date: Mon, 06 Dec 2004 13:43:30 -0600 From: John A Meinel User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stefan Monnier Subject: Re: [Gnu-arch-users] Re: [BUG] i18n (Re: Message translation - basic framework) References: <20040615.105821.74747648.tez@kamihira.com> <20040819.114448.71097995.tez@kamihira.com> <1102190470.6937.18.camel@localhost> <1102246556.21407.4.camel@localhost> In-Reply-To: X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Cc: gnu-arch-users@gnu.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1492797900==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 2739 Lines: 87 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1492797900== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE32F044B53100E68880A8FD1" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE32F044B53100E68880A8FD1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Stefan Monnier wrote: >>I've integrated your code into baz: >>robert.collins@canonical.com--general/package-framework--i18n--1.1 >>robert.collins@canonical.com--general/bazaar--devel--1.1--patch-18 >>robert.collins@canonical.com--general/bazaar-debian--i18n--1.1 > > >>I'll be pushing this into the mainline shortly. > > >>Anyone who wants to do translations : they'd be massively appreciated. > > > Please be super extra careful that translations don't make batch operations > from a front-end more difficult. Front-ends sometimes have to parse the > output of the command. > > > Stefan What if the front-end could just always issue the command: "LANG=c tla " Or do it by setting the environment before the call, etc. Wouldn't that cause it to always report back non-internationalized messages? And if as a new front end you want to display the internationalized form, you can have your front end use the gettext() functionality to translate whatever messages you get. This also has the advantage that your front-end is part-way to being internationalized itself. I think the best way is to get tla-2.0 librified and out the door so that you can have much more meaningful return values, without having to parse possibly ambiguous text. But in the mean-time it seems like frontends can easily work around the internationalization parsing problem. John =:-> --------------enigE32F044B53100E68880A8FD1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBtLZjJdeBCYSNAAMRAte+AJ9wQgnAEJgl9wrOyct4WjcTbF8cbgCfdUJM NIJ2VYbTabG19Jw2mlOOkUE= =Cq2Y -----END PGP SIGNATURE----- --------------enigE32F044B53100E68880A8FD1-- --===============1492797900== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============1492797900==--