You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/07/08 18:28:24 UTC

DO NOT REPLY [Bug 10559] New: - [PATCH] parseLocale in I18nUtils.java

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559

[PATCH] parseLocale in I18nUtils.java

           Summary: [PATCH] parseLocale in I18nUtils.java
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: michael.enke@wincor-nixdorf.com


the method parseLocale in I18nUtils.java expects the localeString to be
of the form of xx_xx_xx e.g. de_DE_euro
Very often the browser sends in the request the locale in the form of
xx_xx@xx e.g. de_DE@euro
This patch makes I18nUtils aware of this.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org