Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 36300 invoked from network); 28 Jul 2009 08:34:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 08:34:22 -0000 Received: (qmail 3980 invoked by uid 500); 28 Jul 2009 08:35:39 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 3883 invoked by uid 500); 28 Jul 2009 08:35:39 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 3874 invoked by uid 99); 28 Jul 2009 08:35:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 08:35:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 08:35:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DCCC6234C051 for ; Tue, 28 Jul 2009 01:35:14 -0700 (PDT) Message-ID: <1240445772.1248770114903.JavaMail.jira@brutus> Date: Tue, 28 Jul 2009 01:35:14 -0700 (PDT) From: "Shawn Jiang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-4763) i18n properties files should be converted to ascii at build time. In-Reply-To: <1481831215.1248328274869.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735987#action_12735987 ] Shawn Jiang commented on GERONIMO-4763: --------------------------------------- Kan, The reason why I just uploaded patch on trunk is that we are going to branch 2.2. I'll make a 2.1 patch soon. > i18n properties files should be converted to ascii at build time. > ------------------------------------------------------------------ > > Key: GERONIMO-4763 > URL: https://issues.apache.org/jira/browse/GERONIMO-4763 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: usability > Affects Versions: 2.1.5, 2.2 > Reporter: Shawn Jiang > Assignee: Ivan > Priority: Minor > Attachments: G4763_mv_i18n_trunk.bat, G4763_trunk.patch > > > Current i18n properties files are stored in source code repo after they are converted to ascii from native offline. It's very hard to contribute new translations. > We should keep native characters in source code while convert them to ascii at build time. maven plugin native2ascii-maven-plugin could be used here: > {code} > > org.codehaus.mojo > native2ascii-maven-plugin > 1.0-alpha-1 > > target/classes > src/main/resources > > > > native2ascii-utf8 > > native2ascii > > > UTF8 > > ConsoleResources_jp.properties, > ConsoleResources_zh*.properties > > > > > > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.