So why don't you use the currencycode you get to set the wished currency
object and set the option to get the symbol returned like it's described in
the manual ?
$currency = Zend_Currency($dbcurrencycode);
$currency->toCurrency(1000, array('display' => Zend_Currency::USE_SYMBOL));
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com----- Original Message -----
From: "skorp" <
[hidden email]>
To: <
[hidden email]>
Sent: Thursday, August 13, 2009 8:48 AM
Subject: Re: [fw-i18n] Zend_Currency currencysymbol
No its not possible because i don't know all currency symbols
there are currently about 30 different currencies
i get from db the price and a 3 digit currencycode
greetings
thomasW wrote:
>
> How about setting symbol=> '€' ?
>
> Greetings
> Thomas Weidner, I18N Team Leader, Zend Framework
>
http://www.thomasweidner.com>
> ----- Original Message -----
> From: "skorp" <
[hidden email]>
> To: <
[hidden email]>
> Sent: Tuesday, August 11, 2009 1:52 PM
> Subject: [fw-i18n] Zend_Currency currencysymbol
>
>
>
> Hi all,
> i have a question , i want to set different currencysmybols in the view,
> but
> i get always the $ symbol
>
> the zend_locale is set to en_US
> can i not change currencysymbol on each line?
> when i set symbol=>'EUR' then i get EUR not the € symbol €
>
> is this anyway possible
>
>
>
> --
> View this message in context:
>
http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html> Sent from the Zend I18N/Locale mailing list archive at Nabble.com.
>
>
>
--
View this message in context:
http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24949714.htmlSent from the Zend I18N/Locale mailing list archive at Nabble.com.