Prestashop: Currency ISO display instead of currency symbol

Created on 29 Nov 2018  路  10Comments  路  Source: PrestaShop/PrestaShop

Describe the bug
For some currency like:
Malaysian Ringgit (MYR/RM)
and other displayed in the screenshot. Prestashop displayed the ISO code instead on currency code.
Is this a feature or Bug, it works fine in Prestashop V1.6.x.x, see screenshot

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'International -> Localization'
  2. Import 'Malaysia' country pack
  3. Go to the front office,
  4. Select currency 'MYR RM' from header currency dropdown
  5. see in product price it displays 'MYR121.67' not the RM currency symbol
  6. select currency 'USD $' now and all right in this case

Same happens with some other country currency also, as in the red square in the screenshot.

Screenshots
download 10
download 11

Additionnal information
PrestaShop version: 1.7.4.4 and 1.7.5.0 beta
PHP version: 7

1.7.4.4 Bug CLDR Currencies FO Fixed International Minor

All 10 comments

Hi @dheerajwebkul,

Thanks for your report.
I manage to reproduce the issue with PS1.7.4.4 & PS1.7.5.0beta1
image
In the PS1.6.1.23
image
We will see how to fix it.
Related to https://github.com/PrestaShop/PrestaShop/issues/9714
Thanks!

thanks @khouloudbelguith
Can I use this #9714 to fix this issue?

Thanks

@dheerajwebkul, #9714 & #11558 they are just related issues.
Thanks!

Hi @dheerajwebkul,

If you need help, you can ask on the Forum (https://www.prestashop.com/forums/), Gitter (https://gitter.im/PrestaShop/General) or Stack Overflow (https://stackoverflow.com/questions/tagged/prestashop).
Thanks for your understanding!

Your issue is added to our bug roadmap, it will be fixed by our developers.
Thanks!

Thanks, @khouloudbelguith I understand.

It's fixed anyway,

PrestaShop create a file while installation

/translations/cldr/main--en-US--currencies

where JSON saved for all languages.

"MYR":{"displayName":"Malaysian Ringgit","displayName-count-one":"Malaysian ringgit","displayName-count-other":"Malaysian ringgits","symbol":"MYR","symbol-alt-narrow":"RM"}

symbols are written wrong in this file for many languages, looks like this is written wrong on the PrestaShop server from where this file is importing.

Hi @dheerajwebkul,

Thank you for reporting this bug and how you fix it, it's great to hear that is solved!
Thanks!

The PR #10455 should fix this issue. It will be delivered on the 1.7.6.
Thank you

Hi, will this be solved for all currencies? The same thing is happening with ARS.

Hi @marchspa,

It will be solved for every currency, but could you explicit the currency symbol you were expecting and the one shown in your shop?
It will help us in our testing phase?

Thank you

Was this page helpful?
0 / 5 - 0 ratings