cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19894] New: - [PATCH] I18nTransformer decimal and grouping locale
Date Tue, 13 May 2003 14:37:19 GMT
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=19894>.
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=19894

[PATCH] I18nTransformer decimal and grouping locale

           Summary: [PATCH] I18nTransformer decimal and grouping locale
           Product: Cocoon 2
           Version: 2.1M1
          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


This applies to currency formatting:
If someone from US want to see sales figures from a store in Germany,
the value is formatted with locale="de_DE", e.g.
100,00 Euro (I can not write the Euro sign from my keyboard)
than the decimal and grouping separator is also in de_DE locale.
This may be leading to some confusion/misunderstanding because
guys from US know the "," as thousand separator.

I introduced a new tag called "dec-and-grp-locale"
so that the output from
<i18n:number type="currency" locale="de_DE"
dec-and-grp-locale="en_US">100</i18n:number>
looks like 100.00 Euro

Mime
View raw message