United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6645268 Country/language names with locale fi_FI are incorrect for FRANCE/FRENCH
6645268 : Country/language names with locale fi_FI are incorrect for FRANCE/FRENCH

Details
Type:
Bug
Submit Date:
2007-12-25
Status:
Resolved
Updated Date:
2010-07-29
Project Name:
JDK
Resolved Date:
2008-02-14
Component:
globalization
OS:
windows_xp
Sub-Component:
translation
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
6u10

Related Reports
Backport:
Backport:

Sub Tasks

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
                                     
2008-01-08
EVALUATION

locale element CR
                                     
2007-12-26



Hardware and Software, Engineered to Work Together