How will you load a specific locale?

How will you load a specific locale?

HI,

Please tell me how to load a specific locale in Java program.

Thanks
View Answers

October 5, 2010 at 5:14 PM

Hi Friend,

You can use ResourceBundle.getBundle("Locale.UK");

For more information, visit the following link:

http://www.roseindia.net/tutorials/I18N/resource-bundle.shtml

Thanks









Related Tutorials/Questions & Answers:
How will you load a specific locale? - Java Beginners
how do you change the message box to a specific color
Advertisements
Listing all available Locales
how to load pdf on html
Locales in Spring MVC
ModuleNotFoundError: No module named 'Locales'
ModuleNotFoundError: No module named 'compare-locales'
ModuleNotFoundError: No module named 'compare-locales'
ModuleNotFoundError: No module named 'locales-test'
ModuleNotFoundError: No module named 'compare-locales'
How to load Arabic csv to MYSQL
List of all Locales
how many ways to load the class in java
How to load file from the directory in J2ME?
How to remove specific element from Hashset.
How can I get specific data from JSON
How to get specific index value from ByteBuffer in java.
how to load values of html form into an excel table using java servlet?
How to get specific index value from int buffer.
java write to a specific line
How to get specific index value from long buffer.
How to get specific index value from short buffer.
How to extract the entire line with specific data from a Text in java?
Selecting All Columns or Specific columns
How to load elements from db when i press next.
how to update specific row in on update key in the Navicat for mysql trigger
Formatting and Parsing Locale-Specific Currency
Formatting and Parsing a Locale-Specific Percentage
ModuleNotFoundError: No module named 'load'
How can I get specific data from JSON
how to load a table of data from oracle, to a jsp page using hashmap.
jQuery Load Content
jQuery Ajax load request
How to extract a specific line from a text file? - IoC
Maven Repository/Dependency: com.helger | ph-locales-parent-pom
How to found which class or method contain specific annotation?
ModuleNotFoundError: No module named 'specific'
Maven Dependency ph-locales-parent-pom >> 2.0.0
how to load value in dropdown list after selecting value from first dropdown list using javascript
ModuleNotFoundError: No module named 'django-load'
ModuleNotFoundError: No module named 'lazy-load'
ModuleNotFoundError: No module named 'load-confounds'
ModuleNotFoundError: No module named 'load-remote'
ModuleNotFoundError: No module named 'load_resources'
ModuleNotFoundError: No module named 'shinkenplugins.plugins.http_load'
ModuleNotFoundError: No module named 'cfg-load'
ModuleNotFoundError: No module named 'django-load'
ModuleNotFoundError: No module named 'gil-load'
ModuleNotFoundError: No module named 'k-load'
Ajax Load

Ads