It will. You can read the javadoc of ResourceBundle to see how it searches
the bundles for a given locale.

-Jack


2009/1/13 Gang Yin <yg020...@gmail.com>

> Of course we can use both language and country parts, but now we only
> provide property files like *.zh.properties rather than *.zh-CN.properties,
> I'm not sure if locale like zh-CN will match *.zh.properties. I will test
> it, and If getLanguage() is not necessary I will remove it.
>
>
> On Tue, Jan 13, 2009 at 11:15 PM, Jack Cai (JIRA) <j...@apache.org> wrote:
>
>>
>>    [
>> https://issues.apache.org/jira/browse/GERONIMO-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663355#action_12663355]
>>
>> Jack Cai commented on GERONIMO-4507:
>> ------------------------------------
>>
>> I don't quite understand why only the language part of the locale is used
>> ...
>>
>> > Admin console should honor the priority of user agent's language setting
>> > ------------------------------------------------------------------------
>> >
>> >                 Key: GERONIMO-4507
>> >                 URL:
>> https://issues.apache.org/jira/browse/GERONIMO-4507
>> >             Project: Geronimo
>> >          Issue Type: Improvement
>> >      Security Level: public(Regular issues)
>> >          Components: console
>> >    Affects Versions: 2.1.3, 2.2
>> >         Environment: All
>> >            Reporter: Jack Cai
>> >            Assignee: Donald Woods
>> >            Priority: Minor
>> >             Fix For: 2.2
>> >
>> >         Attachments: locale-priority.patch, locale-priority_fix.patch
>> >
>> >
>> > See discussion:
>> http://www.nabble.com/Geronimo-Console-tp21369352s134p21383628.html
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>

Reply via email to