1

I got two store views in my shop.

1 english and 1 arabic(ar_SA)

Standard currency is SAR

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

Can someone tell me why the SAR is missing?

EDIT: Found out that in arabic store view the custom currency symbol is NOT used. Tested it by hard coding symbol in app/code/core/Mage/CurrencySymbol/Model/System/Currencysymbol.php (just for test)

3

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>
4
  • Good to know that it is fixed – TBI Infotech Jun 16 '14 at 14:10
  • always a good things to find the answer by yourself. If you find it being the most suitable answer to your question, please accept it. – Julien Lachal Sep 24 '14 at 9:05
  • This solution not working for me in Magento ver. 1.9.2.4. Can someone tell me how i can fix it ? – mahmoudismail Jun 19 '16 at 14:16
  • Worked like a charm :) – Developer Webile Oct 9 '17 at 5:59
1

Go To

System>Manage Currency>Symbols

, and add symbols there.

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.