Hi,
I have a website with both english and arabic language in Magento 2.0.2. The currency symbol ($) is missing when changing the store view to Arabic language. It's very urgent to fix this issue.Thanks for reading this. Anyone please help.
Solved! Go to Solution.
Hi Sachin
Remove the following code from the file ar_SA.xml in the following file path.
site_folder\vendor\magento\zendframework1\library\Zend\Locale\Data\ar_SA.xml
This will fix your issue.
<numbers>
<currencyFormats numberSystem="latn">
<currencyFormatLength>
<currencyFormat type="standard">
<pattern>¤#0.00</pattern>
</currencyFormat>
</currencyFormatLength>
</currencyFormats>
</numbers>
same with me too
Hi Sachin
Remove the following code from the file ar_SA.xml in the following file path.
site_folder\vendor\magento\zendframework1\library\Zend\Locale\Data\ar_SA.xml
This will fix your issue.
<numbers>
<currencyFormats numberSystem="latn">
<currencyFormatLength>
<currencyFormat type="standard">
<pattern>¤#0.00</pattern>
</currencyFormat>
</currencyFormatLength>
</currencyFormats>
</numbers>
Is there any way to do this without editing the core files? I'm bringing them in via composer so this won't work.
hello,
I have store in two views Arabic and English. if I delete the above code in ar_SA.xml, the currency code show like ر.س in both store view.
also, I can't find SAR currency in root.xml
can I know the path of this symbol "ر.س"?
also, how to be SR or SAR in English view?
How to override vendor\magento\zendframework1\library\Zend\Locale\Data\ar_SA.xml
Any Solution?