JDK-6645268 : Country/language names with locale fi_FI are incorrect for FRANCE/FRENCH
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-12-25
  • Updated: 2010-07-29
  • Resolved: 2008-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.
JDK 6 JDK 7 Other
6u10 b12Fixed 7Fixed OpenJDK6Fixed
Description
FULL PRODUCT VERSION :
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
Locale#getDisplayCountry() and Locale#getDisplayLanguage() with Finnish locale fi_FI returns incorrect names. In Finnish the country France is called "Ranska", not "Franska", and the language French is called "ranska" not "franska".

See:
http://fi.wikipedia.org/wiki/Ranska
http://fi.wikipedia.org/wiki/Ranskan_kieli

Note: the error only affects the Finnish locale fi_FI, the existing names for the Finnish-Swedish locale sv_FI are correkt.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See test case

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"France=Ranska"
"French=ranska"
ACTUAL -
"France=Franska"
"French=franska"

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import java.util.Locale;

public class LocaleTest {

    public static void main(String[] args) {
        System.out.println("France=" + Locale.FRANCE.getDisplayCountry(new Locale("fi", "FI")));
        System.out.println("French=" + Locale.FRENCH.getDisplayLanguage(new Locale("fi", "FI")));
    }
}

---------- END SOURCE ----------

Comments
EVALUATION Request conforms to the CLDR, http://unicode.org/cldr/repository/common/main/fi.xml?rev=1.96&content-type=text/vnd.viewcvs-markup fixing as requested. ------- LocaleNames_fi.properties ------- 35c35 < fr=franska --- > fr=ranska 66c66 < FR=Franska --- > FR=Ranska
08-01-2008

EVALUATION locale element CR
26-12-2007