-
Bug
-
Resolution: Duplicate
-
P4
-
5.0
-
other
-
windows_xp
OPERATING SYSTEM(S)
JDK VERSION(S): All (1.3.1, 1.4.2, 5.0)
DESCRIPTION:
Not all timezones are translated, this seems to be a limitation with in the JDK. If the translation is not found then the English version is used.
Here is the java class to test this problem:
import java.util.*;
public class TimeZoneDisplayName {
public static void main(String[] args)
{
String[] available = TimeZone.getAvailableIDs();
TimeZone ivTz;
for ( int i = 0; i < available.length; i++ )
{
ivTz = TimeZone.getTimeZone(available[i]);
System.out.println(ivTz.getDisplayName(Locale.getDefault()));
}
}
}
If the description of all TimeZones available in the
French/Italy/etc language are printed, having changed the regional setting of the machine to the corresponding locale, not all descriptions are translated in French/Italy/etc.
###@###.### 2005-04-05 16:48:22 GMT
JDK VERSION(S): All (1.3.1, 1.4.2, 5.0)
DESCRIPTION:
Not all timezones are translated, this seems to be a limitation with in the JDK. If the translation is not found then the English version is used.
Here is the java class to test this problem:
import java.util.*;
public class TimeZoneDisplayName {
public static void main(String[] args)
{
String[] available = TimeZone.getAvailableIDs();
TimeZone ivTz;
for ( int i = 0; i < available.length; i++ )
{
ivTz = TimeZone.getTimeZone(available[i]);
System.out.println(ivTz.getDisplayName(Locale.getDefault()));
}
}
}
If the description of all TimeZones available in the
French/Italy/etc language are printed, having changed the regional setting of the machine to the corresponding locale, not all descriptions are translated in French/Italy/etc.
###@###.### 2005-04-05 16:48:22 GMT
- duplicates
-
JDK-6409419 L10N of timezone display name need to be modified to up-to-date
- Closed