Magento 1.9 – Fix Missing Currency Symbol in Arabic Store View

currencylanguagemagento-1.9price

The currency symbol ($) is missing when changing the store view to Arabic Language.

I got two store views in my shop.

1 english and 1 arabic(ar_SA)

Standard currency is $ in all my shop.

On english store view the shop shows me $ 100.00 for example. On arabic store view I just get the Number itself like 100.00.

Can someone tell me why the $ is missing?

Best Answer

My Problem is solved.

Solution:

in lib/Zend/Locale/Data/ar_SA.xml

Must be removed the below code:

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

or this if exist

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

Reference: Currency symbol gets lost on specific store view