Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5104387
Votes 84
Synopsis Support for gl_ES locale (galician language)
Category java:localization
Reported Against 1.4.2
Release Fixed
State 3-Accepted, request for enhancement
Priority: 4-Low
Related Bugs 4052440
Submit Date 20-SEP-2004
Description


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) 
======================================================================
Posted Date : 2006-04-27 00:15:42.0
Work Around
N/A
Evaluation


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
  xxxxx@xxxxx   2005-03-22 20:24:50 GMT
Posted Date : 2006-04-27 00:15:43.0

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.
Posted Date : 2007-10-16 10:54:34.0
Comments
  
  Include a link with my name & email   

Submitted On 30-DEC-2004
bille@linuxbeat.net
I cannot tell about Galician as European official language but I can secure that Galician is a Spanish official language.

(Constitución del Reino de España, 1978)


Submitted On 30-DEC-2004
masorey
As is in ISO 639 standart: ISO Galician  gl  LANG_GALICIAN.

Galician is considered as an official language by Spanish kingdom and international comunity.

All Corporations and companies of reputation over the world like ISO, Microsoft (Windows XP and Office are translated to Galician), Google,  etc. Cosider galician as an official language.

European union currently has 11 official languajes + nine  new official languages.  Just  the main language of a country is recognized as official language.


Submitted On 02-JAN-2005
madtyn
There are nearly 3 million people in Galicia and a few people in Asturias (another area in Spain) that use Galician too. It


Submitted On 02-JAN-2005
madtyn
There are nearly 3 million people in Galicia and a few people in Asturias (another area in Spain) that use Galician too. It


Submitted On 02-JAN-2005
madtyn
There are nearly 3 million people in Galicia and a few people in Asturias (another area in Spain) that use Galician too. It's an official Spanish language recognized by the Constitution and the law. It is as important here as Spanish and it's very used in bureaucracy.


Submitted On 05-JAN-2005
educhana
Including it cant be bad


Submitted On 05-JAN-2005
vmsanguino
Here you have a link to the Spanish Government proposal to EU about the co-officiality of Catalonian, Basque, Galician and Valencian:
http://www.es-ue.org/Default.asp?lg=1&section=4
There


Submitted On 19-JAN-2005
fcascaa
Galician is a official language in Spain, there is support for other languages in the same situation (not necessary official languages at the European Union) .


Submitted On 18-SEP-2005
zlatanKa
I support this RFE, as I support solving bug (not RFE as Sun say) for Serbia and Montenegro locals.


Submitted On 20-DEC-2005
sergmain
First part of Locale is country, second - language.
Why not es_GL?


Submitted On 11-AUG-2006
sergmain
RTFM
public Locale(java.lang.String language, java.lang.String country, java.lang.String variant)


Submitted On 06-OCT-2009
dfdez
The JAVAGALICIAN project has addressed this problem as a third-party SPI-based solution for Java SE 6. Check http://www.javagalician.org



PLEASE NOTE: JDK6 is formerly known as Project Mustang