CARVIEW |
Select Language
HTTP/2 200
content-type: text/html; charset=UTF-8
last-modified: Tue, 22 Jul 2025 17:00:47 GMT
x-oracle-dms-ecid: 006EgbRbFM3Fw0KimTXvWJ000fND001cxd
custom_cache_rule_location: Default
x-oracle-dms-rid: 0:1
device_type: Any
x-content-type-options: nosniff
host_service: FutureTenseContentServer:12c
custom_akamai_autopurge: NO
content-language: en-US
x-akamai-transformed: 9 33465 0 pmb=mRUM,2
vary: Accept-Encoding
content-encoding: gzip
cache-control: max-age=1800
expires: Sat, 26 Jul 2025 00:38:28 GMT
date: Sat, 26 Jul 2025 00:08:28 GMT
content-length: 13304
set-cookie: JSESSIONID=QtJED0LPGWZtKwfTIC42TZTAKTpgtm30NFfeMxSlR2Txvi6zD2rk!-819028264!-837857884; path=/; HttpOnly
set-cookie: X-Oracle-BMC-LBS-Route=77992bd41b01160254ee88c3f7d706926a8c84f51242c99d4bcde65f64d15d96b060c9b139913e2b; path=/; HttpOnly
server-timing: cdn-cache; desc=MISS
server-timing: edge; dur=831
server-timing: origin; dur=1631
akamai-request-bc: [a=23.11.215.15,b=292487413,c=g,n=IN_KA_BANGALORE,o=20940],[c=c,n=IN_TN_CHENNAI,o=20940],[a=90,c=o]
akamai-grn: 0.0fd70b17.1753488506.116f00f5
set-cookie: akaas_aud-seg-ocom-prod=2147483647~rv=98~id=89279147f3eca7db74eedbda7cdf862f; path=/; Secure; SameSite=None
x-frame-options: sameorigin
content-security-policy: frame-ancestors 'self' https://my.oracle.com https://eeho.fa.us2.oraclecloud.com https://blogs.oracle.com *.khapps.com *.khapps.jp *.lsapps.oracle.com *.lsapps.oracle.jp *.dev-lsapps.oracle.com https://oraclesso.sharepoint.com https://oracle.sharepoint.com https://partners.oracle.com https://partners-stage.oracle.com https://partners-test.oracle.com https://partners-sit.oracle.com https://partners-dev.oracle.com
x-content-type-options: nosniff
x-xss-protection: 1
origin-cache-control: no-store
origin-edge-control: NO_HEADER_PRESENTED
actual-object-ttl: -1
server-timing: ak_p; desc="1753488506343_386651919_292487413_246219_11795_5_5_15";dur=1
Sun Java Code Sample - Internationalization & Localization
Internationalization & Localization Code Samples
With the Java programming language, it is possible to internationalize and localize your programs. Internationalization is the process of designing an application so it can be adapted to various languages and regions without engineering changes. Localization is the process of adapting software for a specific region or language by adding locale-specific components and translating text.
Formatting
- ChoiceFormatDemo.java shows how to handle plural forms in internationalized programs. For more information, see The Java Tutorial Continued: Internationalization.
- DateFormatDemo.java formats dates and times with predefined styles in a locale-specific way. For more information, see The Java Tutorial Continued: Internationalization.
- DateFormatSymbolsDemo.java shows how to change the short names for the days of the week from lowercase to uppercase. For more information, see The Java Tutorial Continued: Internationalization.
- DecimalFormat.java formats decimal numbers into locale-specific strings. For more information, see The Java Tutorial Continued: Internationalization.
- MessageFormatDemo.java demonstrates how to internationalize a compound message. For more information, see The Java Tutorial Continued: Internationalization.
- NumberFormat.java shows how to format numbers, currencies, and percentages. For more information, see The Java Tutorial Continued: Internationalization.
- SimpleDateFormatDemo.java shows how to create your own customized formats for dates and times. For more information, see The Java Tutorial Continued: Internationalization.
Localization
- Available.java identifies the types of
Locale
definitions a locale-sensitive class recognizes by returning the language and country codes in a string format. For more information, see The Java Tutorial Continued: Internationalization. - ListDemo.java shows how to use a list of language and country codes to support a number of locales. For more information, see The Java Tutorial Continued: Internationalization.
- PropertiesDemo.java demonstrates how to create and use properties files to localize a program for various language and country codes. For more information, see The Java Tutorial Continued: Internationalization.
- StatsBundle_en_CA.java is the Canadian English version of the statistics bundle for the ListDemo.java program. For more information, see The Java Tutorial Continued: Internationalization.
- StatsBundle_fr_FR.java is the French as spoken in France version of the statistics bundle for the ListDemo.java program. For more information, see The Java Tutorial Continued: Internationalization.
- StatsBundle_ja_JP.java is the Japanese version of the statistics bundle for the ListDemo.java program. For more information, see The Java Tutorial Continued: Internationalization.