Two Laptop Bag*
The moose likes Java in General and the fly likes what is locale class. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "what is locale class." Watch "what is locale class." New topic

what is locale class.

karunakar rao

Joined: Feb 25, 2004
Posts: 9
what is locale class,when it will be useful
Davy Kelly
Ranch Hand

Joined: Jan 12, 2004
Posts: 384
The locale class is for when you want to say distribute a program globaly, you can use the Locale class to get the locale for whichever region.
it has useful constants for country and language.

How simple does it have to be???
It is sorta covered in the JavaRanch Style Guide.
subject: what is locale class.
Similar Threads
ResourceBundle not using Locale
how to dislay different language
locale attribute in html:errors is not working
UK Locale problem