I have two stores English and Arabic. I am using SAR(Saudi Riyal) currency symbol. Right now the price is shown like SAR 1250 but for Arabic Store I want to translate SAR into ريـال and the price show like 699.00 ريـال.
Go to Admin Panel :
System->Manage Currency->Symbols Then Uncheck
Use Standard Checkbox If Selected. Then Write
ريـال Instead of
Now Click On
Save Currency Symbol. And Refresh On Frontend Side to see Changes.
Remove the following code from /lib/Zend/Locale/Data/ar_SA.xml
<numbers> <currencyFormats numberSystem="latn"> <currencyFormatLength> <currencyFormat type="standard"> <pattern>¤#0.00</pattern> </currencyFormat> </currencyFormatLength> </currencyFormats> </numbers>
it will show " ر.س." as default currency symbol for Saudi riyal. To change it to "ريـال" open file /lib/Zend/Locale/Data/ar.xml and replace " ر.س." with "ريـال" at line 6223
don't forget to flush cache
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.
In the lib/Zend/Locale/Data/ar.xml file
You need to replace the US$ with the SAR
and remove the following code from the lib/Zend/Locale/Data/ar_SA.xml file.
Clear the cache, Re-index and check your website.