Return-Path: Delivered-To: apmail-incubator-general-archive@www.apache.org Received: (qmail 44598 invoked from network); 3 Feb 2008 03:28:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2008 03:28:11 -0000 Received: (qmail 52546 invoked by uid 500); 3 Feb 2008 03:28:02 -0000 Delivered-To: apmail-incubator-general-archive@incubator.apache.org Received: (qmail 52394 invoked by uid 500); 3 Feb 2008 03:28:01 -0000 Mailing-List: contact general-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@incubator.apache.org Delivered-To: mailing list general@incubator.apache.org Received: (qmail 52383 invoked by uid 99); 3 Feb 2008 03:28:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2008 19:28:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ahmad@khalifa.ws designates 69.56.184.19 as permitted sender) Received: from [69.56.184.19] (HELO gateway01.websitewelcome.com) (69.56.184.19) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 03 Feb 2008 03:27:45 +0000 Received: (qmail 23274 invoked from network); 3 Feb 2008 03:32:13 -0000 Received: from gator144.hostgator.com (74.52.60.146) by gateway01.websitewelcome.com with SMTP; 3 Feb 2008 03:32:13 -0000 Received: from [82.201.182.244] (port=55297 helo=[192.168.0.31]) by gator144.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JLVWA-0006S5-Q6 for general@incubator.apache.org; Sat, 02 Feb 2008 21:27:45 -0600 Message-ID: <47A534A1.9010209@khalifa.ws> Date: Sun, 03 Feb 2008 05:27:29 +0200 From: Ahmad Khalifa User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: general@incubator.apache.org Subject: Re: [PROPOSAL] i18n4data Proposal References: <47A35B00.6020801@khalifa.ws> <00d601c86569$81942400$0402a8c0@Dimension5000> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator144.hostgator.com X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - khalifa.ws X-Virus-Checked: Checked by ClamAV on apache.org Neng Geng Huang wrote: > The key of i18n4data is to i18n user's data, not interface message. > For example, if you are developing an e-shop web site to support two > languages (English and French), you might have a table to store your > goods item when you design the data structure: I don't see the difficulty localizing user data with bundles if you're talking about single strings. The limitation I see in bundles are the Key/Value per Lanuage design. You can not add more attributes to an item, or have multi values per item. If you just want to move the key/value data from bundles to database tables, then perhaps you should check out commons-i18n which, as far as I understand, does exactly what you propose and maybe even a little more. [1] commons-i18n http://commons.apache.org/sandbox/i18n/ Regards, Ahmad --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org For additional commands, e-mail: general-help@incubator.apache.org