Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 85359 invoked from network); 20 Mar 2009 06:51:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2009 06:51:41 -0000 Received: (qmail 97147 invoked by uid 500); 20 Mar 2009 06:51:41 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 97129 invoked by uid 500); 20 Mar 2009 06:51:41 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 97120 invoked by uid 99); 20 Mar 2009 06:51:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2009 23:51:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO aurora.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 06:51:39 +0000 Received: from aurora.apache.org (localhost [127.0.0.1]) by aurora.apache.org (8.13.8+Sun/8.13.8) with ESMTP id n2K6pI4e027457 for ; Fri, 20 Mar 2009 06:51:19 GMT Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@harmony.apache.org Date: Fri, 20 Mar 2009 06:51:18 -0000 Message-ID: <20090320065118.27400.28666@aurora.apache.org> Subject: [Harmony Wiki] Update of "Harmony i18n tool" by lvjing X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification. The following page has been changed by lvjing: http://wiki.apache.org/harmony/Harmony_i18n_tool New page: =Harmony I18n Tool Plan= ==Requirement== As we see the Harmony Project has a infrastructure but has no data, we need them to meet customer requirement. A tool automatic setup i18n mechanism for open source project will do a lot benefit to all lightweight projects to their custimers ==Goal== The project is plan to make up an automatic tool that helps project to automatically extract the messages in source code, analysis if necessary to localized, then translate and adjust, and at last inject into the source code and apply the localization. The tool focus on Java Projects, using java ResourceBundle or property loading mechanism. ==High level Design== The tool can be depart into 3 small tools/sequences: 1 String extract and analysis In this step, the tool shall look for all strings in the project. Note not all Strings can be localized or it's not necessary. We have to detect, maybe with user's hint (by argument/profile) or user's decision (decide the necessary files) 2 the translator We don't focus on the translator as there's so many translators and tools, however we may look for a mechanism to automatically translate and adjust for the open source project, so we may offer choice for customers for the style. We are not going to find a 100% correct translation. 3 the injector This part will apply a formalized i18n mechanism into the source code, using ResourceBundle or property loading, this also help the customer to fix the translation easily.