United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-5104387 : Support for gl_ES locale (galician language)

Details
Type:
Enhancement
Submit Date:
2004-09-20
Status:
Closed
Updated Date:
2012-10-29
Project Name:
JDK
Resolved Date:
2012-09-05
Component:
globalization
OS:
linux
Sub-Component:
translation
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
Name: rmT116609			Date: 09/20/2004


A DESCRIPTION OF THE REQUEST :
Add support for the locale gl_ES in the jre for date, currency and date format. This locale identifies the galician language.

JUSTIFICATION :
The galician language (gl_ES) is a official language at Spain and in near future at the European Union. This locale is needed to format dates and number in a intertionalized application.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The currency, number format and date format is identical to Spanish locale (es_ES). The difference is days and months names. The full list of days and months in galician are:
january = "xaneiro"
february = "febreiro"
march = "marzo"
april = "abril"
may = "maio"
june = "xu\u00f1o"
july = "xullo"
august = "agosto"
september = "setembro"
october = "outubro"
november = "novembro"
december = "decembro"
month 13 if applicable = ""
abb january = "xan."
abb february = "feb."
abb march = "mar."
abb april = "abr."
abb may = "maio"
abb june = "xu\u00f1o"
abb july = "xullo"
abb august = "ag."
abb september = "set."
abb october = "oct."
abb november = "nov."
abb december = "dec."
abb month 13 if applicable = ""
Sunday = "domingo"
Monday = "luns"
Tuesday = "martes"
Wednesday = "m\u00e9rcores"
Thursday = "xoves"
Friday = "venres"
Saturday = "sabado"
abb Sunday = "do."
abb Monday = "lu."
abb Tuesday = "ma."
abb Wednesday = "me."
abb Thursday = "xo."
abb Friday = "ve."
abb Saturday = "sa."

ACTUAL -
No locale support

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

class Test  {
  public static void main(String[] ar) {
    Locale l = new Locale("gl", "ES");
    DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, l);
    System.out.println(df.format(new Date()));
  }
}
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
1M-^O???? Implement the classes sun.text.resources.LocaleElements_gl and sun.text.resources.DateFormatZoneData_gl (search the net for a implementation of other locale).
2M-^O???? Copy a .jar with this classes in the $JAVA_HOME/jre/lib/ext directory
(Incident Review ID: 311032) 
======================================================================

                                    

Comments
Run the new test developed for JEP 127 with latest JPRT build and JDK8 b62.
                                     
2012-10-29
SUGGESTED FIX

http://hg.openjdk.java.net/jdk8/tl/jdk/rev/131a683a2ce0
                                     
2012-08-21
EVALUATION

gl and al_ES locales will be supported in JDK8 as CLDR support.
                                     
2012-05-18
EVALUATION

The EU is acception the galician but it is not promoted as a official EU language. In the spain it has status of official language.
See: http://en.wikipedia.org/wiki/Galician_language
The request is for gl_ES so it sound reasonable to have it implemented.
                                     
2007-10-16
EVALUATION

Name: nl37777			Date: 09/20/2004

Can you please provide evidence (preferably an official EU 
statement) for the claim that Galician will in the near future be an 
official language of the European Union?
======================================================================

Third party will be able to translate locale data with the following RFE.
4052440 RFE: Pluggable locale support
###@###.### 2005-03-22 20:24:50 GMT
                                     
2005-03-22



Hardware and Software, Engineered to Work Together