Externalize strings for translation. . Normalize existing keys.
--------------------------------------------------------------- Key: OFBIZ-385 URL: http://issues.apache.org/jira/browse/OFBIZ-385 Project: OFBiz (The Open for Business Project) Issue Type: Task Affects Versions: SVN trunk Environment: All platforms Reporter: Gerrie Myburgh Priority: Trivial 1. Externalize strings for translation. Stings taken out are all strings that comply with the following criteria Has more than one word in it 60 % of all the words are recognized as known standard English words 60 % of the string length consists of known standard English words Strings are places one of 3 files 1. Exception.properties 2. Message.properties 3. UndefContext.properties Each property file is placed into the correct directories in the module that contains the *.java file Keys are defined in the *.java file as Private static final String Name1Name2Name3 = "Name1Name2Name3"; Then referred to in the code as Name1Name2Name3. UtilMisc must be changed to return the current Locale for the thread using the resource. This is required in the case of Exceptions using resources to construct error messages. 2. Normalize existing keys. All keys of the form name1.name2.name3 is to be changed to Name1Name2Name3. The references to the keys must be changed in the *.java file as well as the definition in the *.properties file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
2 Corrections on stuff below.
1. Strings taken out are string that is one or more valid word that contains a white space. The rest of the rules hold 2. Strings are places one of 4 files 1. Exception.properties -- exception error messages 2. Message.properties -- general messages 3. UndefContext.properties -- I cannot derive the context 4. Error.properties -- Debug log messages -----Original Message----- From: Gerrie Myburgh (JIRA) [mailto:[hidden email]] Sent: Thursday, 19 October 2006 08:46 AM To: [hidden email] Subject: [jira] Created: (OFBIZ-385) Externalize strings for translation. . Normalize existing keys. Externalize strings for translation. . Normalize existing keys. --------------------------------------------------------------- Key: OFBIZ-385 URL: http://issues.apache.org/jira/browse/OFBIZ-385 Project: OFBiz (The Open for Business Project) Issue Type: Task Affects Versions: SVN trunk Environment: All platforms Reporter: Gerrie Myburgh Priority: Trivial 1. Externalize strings for translation. Stings taken out are all strings that comply with the following criteria Has more than one word in it 60 % of all the words are recognized as known standard English words 60 % of the string length consists of known standard English words Strings are places one of 3 files 1. Exception.properties 2. Message.properties 3. UndefContext.properties Each property file is placed into the correct directories in the module that contains the *.java file Keys are defined in the *.java file as Private static final String Name1Name2Name3 = "Name1Name2Name3"; Then referred to in the code as Name1Name2Name3. UtilMisc must be changed to return the current Locale for the thread using the resource. This is required in the case of Exceptions using resources to construct error messages. 2. Normalize existing keys. All keys of the form name1.name2.name3 is to be changed to Name1Name2Name3. The references to the keys must be changed in the *.java file as well as the definition in the *.properties file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www.mtn.co.za/default.aspx?pid=34411 |
Free forum by Nabble | Edit this page |