[loc-en-dev] Comments to the draft spec

Naoto Sato Naoto.Sato at Sun.COM
Mon Feb 2 13:10:35 PST 2009


Hello,

I am very sorry for the delay, but here are some of my comments/thoughts 
regarding the draft spec.  Since we are shooting for the JDK7, I would 
like to do something minimum, as Masayoshi said.

- I would like to keep the current constructors of the Locale class 
intact.  The new Locale instances that represents BCP47 or LDML should 
only be built by the Locale Builder.  I believe this is clear enough to 
developers.

- IDType "JAVA" may not be needed.  Current Java locales can already be 
instantiated through the existing Locale constructors.  Moreover I don't 
think we need to support such as "ja_JP_JP"/"no_NY_NY" in the new 
builder, which will make the implementation more complicated.

- Question: should we support both BCP47 and LDML ids in the API spec? 
Can we just have LDML ids as an implementation? E.g., if the id has 
-k-calendar-japanese, we use Japanese calendar.  If we want LDML in the 
API, we could add it after JDK7.

- Make sure that the new locale builder requires to have the "language" 
element, which is not true for the existing constructors.

Thanks,
-- 
Naoto Sato



More information about the locale-enhancement-dev mailing list