 |
|
Oracle Tips by Burleson |
Oracle 10g Locale Availability in OGS
The number of the locales or languages that an
application needs to support depends on the target user base. The
Oracle Database 10g OGS Internet services returns to the application
the following locale availability data:
-
A list of the locales that are supported
for a given application. This information is defined in the OGS
application configuration file.
-
A list of the Oracle languages, Oracle
territories, Oracle linguistic sorts, and Oracle character sets
based on the locales supported in the application.
-
The user locale of the current request
-
A list of the commonly used languages in a
given territory based on the current user locale
-
A list of the common territories that
support a given language based on the current user locale
-
A list of the commonly used character sets
based on the language defined in the current user locale
-
A list of the local time zones for a given
territory defined in the current user locale
Using Java and OGS, an application can use
locale information to generate a menu for users to select their
preferred locale. The locale entries in the selection list will
contain only the locales that are supported by the application,
based on the returns from the OGS API. This provides the added
benefit that the supported application locales can be increased or
removed without having to change the application code, because they
are defined in the configuration file and not in the application
code itself.
Get the complete Oracle10g story:
To get the code instantly, click here:
Need an Oracle Mentor?
BEI is now offering personal mentors for Oracle DBAs where you can have an
Oracle expert right at your fingertips, anytime day or night. We work with
hundreds of Oracle databases every year, so we know exactly how to quickly
assist you with any Oracle question.
Why risk an unplanned outage? You can now get telephone access to Don
Burleson or any of his Oracle Certified DBAs with more than 20 years of
full-time IT experience. Click here for details:
http://www.dba-oracle.com/service_oracle_backup.htm

|