Hello,

Was wondering if anyone can give me quick guidelines on how I can control
the format of numbers generated by the translation manager ($tm->_c()).

I have looked at the FAQ but it doesn't contain an example for currency
formatting.
I have can 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.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to