cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <>
Subject [PATCH] I18nTransformer decimal and grouping locale
Date Tue, 20 May 2003 18:20:49 GMT
Don't want to reopen this path, so replying to this message.

IMO, adding attributes for this kind of special cases is not a very good
It would be much better to define something like a <number-format/> or
<currency-format /> element where you could define anything you need, e.g.:

<currency-format name="germans-for-americans>

or something like this. And then use it with <i18n:currency/>:

<i18n:number type="currency" src-locale="en" format="germans-for-americans"

We can use syntax which is similar to number formatting in XSLT.


From: <>

> [PATCH] I18nTransformer decimal and grouping locale
> changed:
>            What    |Removed                     |Added
> --------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED

View raw message