Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default Locale for United Kingdom



Ian Cheyne wrote:

>I've checked the "System Preferences" application and under the "Formats"
>tab it is correctly set for the "Region:" to be "United Kingdom".

AFAIK, the Formats tab has no effect on Java locales.

Java Locales only key off one thing in Mac OS X: the primary language.
That's the Language tab of the International pane, at least on pre-10.4
systems.

I don't have 10.4 installed yet, but on 10.3, dragging "British English" to
the top of the Languages list gives me en_GB as the default Java locale.
That locale is assembled from two system properties in J2SE 1.4:
  user.language = en
  user.country = GB

You should see the properties change as you move items atop the Languages
list.  Whether there's a Locale bundle depends on the combination of those
properties.  It might be worthwhile to write a Java test that looks
specifically for the Locale-bundle you want, just to see if it's present.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.