cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [PATCH] I18nTransformer decimal and grouping locale
Date Wed, 21 May 2003 09:02:13 GMT
On Wed, 2003-05-21 at 08:15, Konstantin Piroumian wrote:
> >
> > However, the knowledge of what the decimal-separtor and group-seperator
> > are for a certain locale is already present in the JRE for a large
> > number of locales. Why not reuse that as the dec-and-grp-locale
> > attribute is doing? Otherwise you'd have to define germans-for-* formats
> > for all countries in which you are selling.
> 
> So maybe for such cases it'd be easier to use the target country locale
> (i.e. en_US) and just allow to override the currency sign? E.g.: 1,000.99 DM

Would probably also work, I'd like to here from Michael if he finds this
ok. But aren't there any other properties like the number of digits
after the decimal point that should then also change? In the end it
seems like a rather arbitrary choice in which direction the properties
are copied over.

(if you really don't like any of this, or want more time to think about
this, I can revert the patch for now and reopen the bugzilla entry)

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message