You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/10/20 02:32:10 UTC

DO NOT REPLY [Bug 31791] New: - Provide a way to query the actual Locale used

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=31791>.
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=31791

Provide a way to query the actual Locale used

           Summary: Provide a way to query the actual Locale used
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Resources
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: hrabago@gmail.com


Resources contain logic for finding the correct message that applies to a 
Locale, but doesn't provide a way to determine what Locale the returned message 
applies to.  

For example, an app provides resources for EN (default) and DE.  If the request 
is for the FR locale, the message for the default EN resource is returned.  The 
caller, however, has no way to determine this, save for duplicating the 
internal process of Resources implementation classes, or querying Resources 
using different locales until the results match.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org