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



Jeff Hoekstra wrote:

>the OS is set to Great Britian and by running a simple
>script I can see that the locale is set to en_GB, however,
>the application does not display dates in the correct
>format.
>
>Can anyone provide me with a non-programatic way to enable
>the locale to be set properly?

Exactly what do you mean when you say "by running a simple script"?  Java
isn't a scripting language, so exactly what script are you running where
you can see the locale?

Java's default Locale is set from a few system properties.  The values of
those properties are set according to the primary language in the Languages
list of the International pane in System Preferences.  See a recent similar
posting:

<http://lists.apple.com/archives/java-dev/2005/May/msg00724.html>


If your default Java Locale really is "en_GB", then the problem can't be
how to enable the correct Locale, because you're getting the correct
Locale.  If the Locale is correct, the problem could be anything.  Please
post a complete runnable example that shows what doesn't work.

  -- 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.