cancel
Showing results for 
Search instead for 
Did you mean: 

Arabic Store currency Symbol not showing in magento

Arabic Store currency Symbol not showing in magento

Hi

    In Magento Store Product prices Currency symbol AED Display for  English store. But not displaying in Arabic Store.

 

   Please give my solutiion

4 REPLIES 4

Re: Arabic Store currency Symbol not showing in magento

Not 100% sure whats going wrong here but following fixed it for me:

lib/Zend/Locale/Data/ar_SA.xml

removed:

<numbers>
        <decimalFormats>
            <decimalFormatLength>
                <decimalFormat>
                    <pattern>#0.###;#0.###-</pattern>
                </decimalFormat>
            </decimalFormatLength>
        </decimalFormats>
        <currencyFormats>
            <currencyFormatLength>
                <currencyFormat>
                    <pattern>¤#0.00</pattern>
                </currencyFormat>
            </currencyFormatLength>
        </currencyFormats>
</numbers>

Re: Arabic Store currency Symbol not showing in magento

Thank you for your reply.

 

But still not showing currency symbol. is there any another way..?

Re: Arabic Store currency Symbol not showing in magento

Hi,

Copy the currency and numbers block from en.xml and paste it into the ar_SA.xml
it will work.

Re: Arabic Store currency Symbol not showing in magento

Hi,

 

Since the US$ is given in the XML file and the other currency is taken from the admin panel, you are getting the error. You need to make the following changes in the ar.xml and the ar_SA.xml file. This changes fixed my issue.

 

lib/Zend/Locale/Data/ar.xml file

 

You need to replace the <symbol>US$</symbol> with the <symbol>SAR</symbol>

 

and remove the following code from the  lib/Zend/Locale/Data/ar_SA.xml file.

<numbers>
    <currencyFormats numberSystem="latn">
        <currencyFormatLength>
            <currencyFormat type="standard">
                <pattern>¤#0.00</pattern>
            </currencyFormat>
        </currencyFormatLength>
    </currencyFormats>

</numbers>

Clear the caches, Re-index and check your website.