[loc-en-dev] Norwegian special lookup
Yoshito Umaoka
y.umaoka at gmail.com
Tue Jul 13 09:07:37 PDT 2010
Hi All,
http://sites.google.com/site/openjdklocale/design-notes/resource-bundle-lookup-order
I put the comprehensive Norwegian lookup order list in the section
"Special Case 3: Norwegian Locales".
The algorithm used for this is also described after the table.
* If request contains language "no", but not matching pattern
"no_NO_NY[_*]", create the default candidate list, then insert
locale replacing "no" with "nb" at each level after "no" version.
* If request contains language "nb", create the default candidate
list, then insert locale replacing "nb" with "no" at each level
after "nb" version.
* If request matches pattern "no_NO_NY[_*]", insert "nn_NO[_*]"
before every level. Once it reaches "no_NO_NY", then append "nn",
"no_NO" and "no" in this order.
* If request matches pattern "nn_NO[_*], insert "no_NO_NY[_*]" after
every level. Once it reaches "no_NO_NY", then append "nn", "no_NO"
and "no" in this order.
* If request contains language "nn", but region is not "NO", append
"no" at the end of default candidate list.
Please review the list and algorithm by the end of today. If you have
any questions, please post your response in this ML.
-Yoshito
More information about the locale-enhancement-dev
mailing list