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=28850>. 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=28850 StringManager does not format using the appropriate locale ------- Additional Comments From [EMAIL PROTECTED] 2004-05-11 22:10 ------- Stephane is right: - We need to determine the *actual* locale by calling getLocale() on the resource bundle that was retrieved. This locale may be different from the locale that was requested. In the "worst" case (ie., if "LocalStrings.properties" was the best match for the requested locale, getLocale() will return the empty locale. - The try/catch (for MissingResourceException) seems to be redundant, as "LocalStrings.properties" will be matched in the "worst" case. Committed corresponding patch. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]