-
Enhancement
-
Resolution: Won't Fix
-
P3
-
None
-
1.3.1, 1.4.2
-
generic, x86
-
solaris_8, windows_2000
Name: jl125535 Date: 11/13/2002
FULL PRODUCT VERSION :
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010609 (JIT enabled: jitc)
)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
ADDITIONAL OPERATING SYSTEMS :
A DESCRIPTION OF THE PROBLEM :
Java is unable to load a resource bundle with suffix "he",
even though "he" is the correct ISO language code for
Hebrew. When we build and install localized resource files,
we use "he" for everything else (HTML, XML, C/C++), but
have to use "iw" for Java. It makes things unnecessarily
complicated.
I understand that you still need to recognize "iw" for
backwards compatibility, but the primary and default suffix
shoule be "he". Currently, "he" is remapped to "iw" when
creating the locale, this behavior should be reversed.
Currently, the string returned by the locale methods
is "iw" and we have to remap it to "he" when communicating
with users or interoperating with other environments. All
other programming and runtime environments use "he". Java
should also conform to the ISO standard and use "he" as the
primary suffix.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Create a resource bundle with "he" suffix.
2.Create a locale with "he" as language.
3.Try to load the bundle. It will not load.
4. Do a locale.toString() on the locale and see that the
string has been remapped to "iw".
EXPECTED VERSUS ACTUAL BEHAVIOR :
(new Locale("he", "IL")).toString() returns "he_IL"
ResourceBundle.getBundle(new Locale("he", "IL")) will load
a resource bundle with "_he" suffix.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 160172)
======================================================================
###@###.### 11/5/04 00:51 GMT
FULL PRODUCT VERSION :
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010609 (JIT enabled: jitc)
)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
ADDITIONAL OPERATING SYSTEMS :
A DESCRIPTION OF THE PROBLEM :
Java is unable to load a resource bundle with suffix "he",
even though "he" is the correct ISO language code for
Hebrew. When we build and install localized resource files,
we use "he" for everything else (HTML, XML, C/C++), but
have to use "iw" for Java. It makes things unnecessarily
complicated.
I understand that you still need to recognize "iw" for
backwards compatibility, but the primary and default suffix
shoule be "he". Currently, "he" is remapped to "iw" when
creating the locale, this behavior should be reversed.
Currently, the string returned by the locale methods
is "iw" and we have to remap it to "he" when communicating
with users or interoperating with other environments. All
other programming and runtime environments use "he". Java
should also conform to the ISO standard and use "he" as the
primary suffix.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Create a resource bundle with "he" suffix.
2.Create a locale with "he" as language.
3.Try to load the bundle. It will not load.
4. Do a locale.toString() on the locale and see that the
string has been remapped to "iw".
EXPECTED VERSUS ACTUAL BEHAVIOR :
(new Locale("he", "IL")).toString() returns "he_IL"
ResourceBundle.getBundle(new Locale("he", "IL")) will load
a resource bundle with "_he" suffix.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 160172)
======================================================================
###@###.### 11/5/04 00:51 GMT
- relates to
-
JDK-6457127 Indonesian Locale does not comply with ISO 639
- Closed
-
JDK-5005601 Norwegian locales not in sync with ISO639-1/ISO639-2
- Closed
-
JDK-6385299 REGRESSION: Problems with Hebrew (he) Resource Bundles
- Resolved
-
JDK-6197577 Spec for Locale.readResolve is incorrect
- Resolved
-
JDK-8132863 Hebrew resource bundles ending in "_he" do not get loaded
- Closed
-
JDK-8263202 Update Hebrew/Indonesian/Yiddish ISO 639 language codes to current
- Resolved
(1 relates to)