-
Enhancement
-
Resolution: Fixed
-
P4
-
1.3.0
-
tiger
-
generic
-
generic
Name: yyT116575 Date: 03/22/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.0-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)
import java.util.*;
public class test {
public static void main(String[] args) {
Locale en = Locale.ENGLISH;
Locale ge = Locale.GERMAN;
Locale it = Locale.ITALIAN;
Locale fi = new Locale("fi", "FI");
System.out.println("'English' in Finnish is " + en.getDisplayLanguage(fi));
System.out.println("'Italian' in Finnish is " + it.getDisplayLanguage(fi));
System.out.println("'German' in Finnish is " + ge.getDisplayLanguage(fi));
System.out.println("'Finnish' in Finnish is " + fi.getDisplayLanguage(fi));
}
}
The resulting language names are wrong. Only the 'Finnish' in Finnish is suomi
is correct.
The same applied to Italian as well. These should be corrected and the whole
language matrix should be fixed. I am working on a product currently which would
need this feature to work, and currently I have to create my own matrix for
mapping the names. The bug is on all versions I tried, JDK1.3, JDK1.2.2 on
linux, JDK1.2 on Windows.
Is there a possibility to create a forum or program to maintain the
langauge/country/etc. matrix.
(Review ID: 119281)
======================================================================