JDK-4623540 : Internationalization: Basque language (eu_ES)
  • Type: Enhancement
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 1.4.0
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-01-15
  • Updated: 2002-01-16
  • Resolved: 2002-01-16
Related Reports
Duplicate :  
Description

Name: jl125535			Date: 01/14/2002


FULL PRODUCT VERSION :
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

A DESCRIPTION OF THE PROBLEM :
This is not a problem or a bug. It's just a suggestion for
future implementations. I work for a company of the sector
Finance/Banking in the North of Spain (Basque Country). I
would like to be able to instantiate the locale eu_ES
(Basque_Spain) and be able to translate dates/times using
java.text.DateFormat and so on for that language which I
think it is not currently implemented.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. DateFormat df = DateFormat.getDateInstance
(DateFormat.LONG, new Locale("eu","ES");
2. String today = df.format(new Date());


EXPECTED VERSUS ACTUAL BEHAVIOR :
Let's suppose today is: Jan 2, 2002

What it displays:
2 de enero de 2002 (this is Ok but in Spanish "es_ES")

What it should display:
2002.ko Urtarrilak 2

This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import java.text.*;
import java.util.*;

public class Test {

   static public void main(String[] args) {

	Date today = new Date();

	DateFormat df = DateFormat.getDateInstance
(DateFormat.LONG, new Locale("eu","ES"));

	System.out.print(df.format(today));
   }
}
---------- END SOURCE ----------

CUSTOMER WORKAROUND :
Using conditional if's to treat the particular case of
eu_ES and the general classes for more common locales.
(Review ID: 137839) 
======================================================================

Comments
EVALUATION We won't provide this locale in the standard J2RE. Instead, we're planning to provide pluggable locale support interfaces that allow third parties to implement this and other locales. Closing as duplicate of the RFE for that feature. ###@###.### 2002-01-15
15-01-2002