| |
 |
|
Oracle Tips by Burleson |
Oracle 10g Locale Verification in OGS
In OGS, each locale source can be further
verified to determine whether the returned locale is supported by
the application. This verification is done by determining that the
returned locale is defined as one of the supported locales in the
OGS application configuration file. The verification methodology is:
-
Get the list of the supported application
locales from the application configuration file.
-
Verify that the returned user preferred
locale is a part of the application locale. If the answer is
yes, use this locale as the current user locale.
-
If the returned user preferred locale
includes a variant, then remove the variant and return to step
2. For example, de_DE_EURO becomes de_DE.
-
If the returned user preferred locale
includes a country code, then remove it and go to step 2. For
example, de_DE becomes de.
-
If the returned user preferred locale does
not match any of the locales defined in the application
configuration file, then return the default application locale
defined in the application configuration file as the current
user locale.
If you exclude the list of supported
application locales from the application configuration file, then
OGS assumes that all locales are supported by the application,
resulting in no default application locale being defined for the
application.
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

|