1. Locale IntroductionLocale says the region. Each of the locale objects represents a specific geographical, political and cultural area.This is often used when manipulating dates, calendar, and other objects that represent date/time, because
Java uses the getDefault () method and setDefault () method of the Locale object to obtain the local country code settings. The GetSetLocale class is defined in the code. Let's talk about the reason for internationalization. International programs
JDK internationalization Overview
Introduction
Note: This html file was created with FrameMaker. If you need to change the contents, including URLs in the links, change the intl.doc FrameMaker file and then convert it to html. The
[Android] three methods of application language switching
Android has done a good job in international and multi-language switching. An application only needs to name the values-[language] folder of the corresponding language family, you can
[Android] three methods of application language switching
Android has done a good job in international and multi-language switching. An application only needs to name the values-[language] folder of the corresponding language family, you can
Android has done a good job in international and multi-language switching. An application only needs to name the values-[language] folder of the corresponding language family, you can switch between multiple languages by using "Settings"> "Language &
Datedate represents a specific moment, accurate to milliseconds. Before JDK1.1, date has two other functions. It allows you to interpret dates as year, month, day, hour, minute, and second values. It also allows formatting and parsing of date
Depending on the type of data, internationalization is divided into 2 categories: static data internationalization and dynamic Data internationalization.static data, including text data such as "title", "User name", and "password".Dynamic data,
If the application system is oriented to multiple languages, you have to solve the internationalization problems during programming, including style issues on the operating interface, versions of prompt and help languages, and customization issues.
1.
Warning:
// To get local formatting use getDateInstance (), getDateTimeInstance (), or
// GetTimeInstance (), or use new SimpleDateFormat (String template, Locale
// Locale) with for example Locale. US for ASCII dates. @ SuppressLint
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.