JDK-6208712 : S. Chinese translation for Twi language is wrong
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-12-15
  • Updated: 2012-10-10
  • Resolved: 2005-02-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u3Fixed 6 b24Fixed
Description
Steps:
1. start IDE
2. create a new project, add a dropdown list
3. select the dropdown list, open "lang" property, and observe "Twi[tw]" in the list.

Result:
Problem lies in two aspects:
1. If "Twi" refers to Traditional Chinese, the Chinese translation may cause political issue; in addition, using such an English term to stand for Traditional Chinese is also improper.
2. If "Twi" refers to the African language spoken in Ghana, then the Chinese translation is wrong.

Pls investigate.
###@###.### 2004-12-15 03:04:35 GMT

Comments
EVALUATION The message is not from creator , but from jdk. Please use the following code clip to reproduce the funny message. public class Test { public static void main(String [] args) { String [] langCodes = Locale.getISOLanguages(); for (int i = 0; i < langCodes.length; i++) { Locale l = new Locale(langCodes[i]); System.out.print("Country: " + l.getCountry( )+ "\t"); System.out.print("DisplayCountry: " + l.getDisplayCountry() + "\n"); System.out.print("Language: " + l.getLanguage() + "\t"); System.out.print("DisplayLanguage: " + l.getDisplayLanguage() + "\n"); System.out.print("ISO3 Country: " + l.getISO3Country() + "\t"); System.out.print("ISO3 Language: " + l.getISO3Language() + "\n"); } } } ###@###.### 2004-12-20 11:05:11 GMT I see that LocaleElements_zh.java has the following entry: { "tw", "\u53f0\u6e7e\u6587" }, which translates to "Taiwanese". But this is supposed to be another language. We will need to fix this in mustang (j2se 6.0) first, then port it back to 5.0 update 3. ###@###.### 2004-12-21 08:13:50 GMT There are 3 possible translations for this language. We will use "\u5951\u7ef4\u6587". This translation is used in google website: http://www.google.com.tw/language_tools?hl=zh-CN http://www.google.com.tw/language_tools?hl=zh-TW and is consistent with T.Chinese translation in LocaleElements_zh_TW.java. ###@###.### 2004-12-22 21:43:31 GMT
20-12-2004