Hi Mathias,
I have looked at the FAQ and it doesn't contain an example for currency
formatting.
I have tried to reflect the date formatting examples to currency formatting,
but have failed to do so.
I have managed to define a filter function (which works) so I can control
the output and format it in a round about way... but obviously there must be
better ways to do this.
here is a the relevant code from my translations xml:
<currency_formatter>
<ae:parameters>
<ae:parameter
name="type">currency</ae:parameter>
<ae:parameter
name="format">number</ae:parameter>
</ae:parameters>
<filters>
<filter>xxxxxXxxxxTranslationFilters::currencyFilter</filter>
</filters>
</currency_formatter>
I have tried to edit the type and format parameters in many ways, without
getting any results or even exceptions...
I'd appreciate any help.
Thank you,
Yossi.
On Fri, Feb 12, 2010 at 2:00 PM, <[email protected]> wrote:
> Send users mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.agavi.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. How can I control the format of $tm->_c() (Yossi Ben Haim)
> 2. Re: How can I control the format of $tm->_c() (Mathias B?ttcher)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Feb 2010 17:40:41 +0200
> From: Yossi Ben Haim <[email protected]>
> Subject: [Agavi-Users] How can I control the format of $tm->_c()
> To: [email protected]
> Message-ID:
> <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> Was wondering if you can give me quick guidelines on how I can control the
> format of numbers generated by the translation manager ($tm->_c()).
>
> Thank You,
> Yossi.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.agavi.org/pipermail/users/attachments/20100211/526f7a94/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 11 Feb 2010 19:51:22 +0100
> From: Mathias B?ttcher <[email protected]>
> Subject: Re: [Agavi-Users] How can I control the format of $tm->_c()
> To: Agavi Users Mailing List <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Yossi,
>
> please check the FAQ:
>
> http://www.mivesto.de/agavi/agavi-faq.html#translation_0
>
> Regards, Mathias
>
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 40, Issue 3
> ************************************
>
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users