DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29197>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29197

PropertyMessageResources behaviour different from PropertyResourceBundle

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From [EMAIL PROTECTED]  2004-06-25 06:52 -------
Of course, I can programmatically select "ru" for "uk" clients, but this does 
not solve the problem. Suppose I have two sets of localization files:

first.properties
first_ru.properties

second.properties
second_ru.properties
second_uk.properties

If I view a page with "uk" locale, Struts will choose "first.properties" 
and "second_uk.properties".

If I forcibly change "uk" to "ru", Struts will choose "first_ru.properties" 
and "second_ru.properties".

But if I use PropertyResourceBundle and request bundles for "uk", it will 
return "first_ru.properties" and "second_uk.properties".

Wy cannot Struts implement exactly the same behaviour, especially if such 
behaviour is stated in the documentation?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to