cancel
Showing results for 
Search instead for 
Did you mean: 

Currency symbol missing on specific store view

SOLVED

Currency symbol missing on specific store view

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Currency symbol missing on specific store view

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>

View solution in original post

6 REPLIES 6

Re: Currency symbol missing on specific store view

same with me too

Re: Currency symbol missing on specific store view

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>

Re: Currency symbol missing on specific store view

Is there any way to do this without editing the core files? I'm bringing them in via composer so this won't work.

Re: Currency symbol missing on specific store view

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? 

Re: Currency symbol missing on specific store view

How to override vendor\magento\zendframework1\library\Zend\Locale\Data\ar_SA.xml

Re: Currency symbol missing on specific store view

Any Solution?