Openfoodnetwork: Currency name (руб.) incorrect displays on Russian locale

Created on 8 May 2020  Â·  8Comments  Â·  Source: openfoodfoundation/openfoodnetwork

Description



In this path:
/admin/products/moloko/variants
"Price" show incorrect currency name, in codes (50.00 �,440;�,443;�,431;).
When interface language is selected as English, it's Ok.
But when interface language is selected as Russian, it's not Ok

Expected Behavior


When interface language is selected as Russian, it should displays as "руб", like in English locale (pls see images below)

Actual Behaviour


show codes "50.00 �,440;�,443;�,431;"
And In the Cart too

Steps to Reproduce




1.
2.
3.
4.

Animated Gif/Screenshot



Bad
Good
Add to Cart(Good)
Edit Cart(Bad)

Workaround

Severity

Your Environment

  • Version used: OFN 2.9.6
  • Browser name and version: Firefox 68.7.0esr
  • Operating System and version (desktop or mobile):
    openSUSE 15.1

    Possible Fix

good first issue

All 8 comments

@openfoodfoundation/core-devs can this be a good-first-issue?

@RachL , this https://github.com/openfoodfoundation/openfoodnetwork/issues/5436#issuecomment-634755002 commands solves many issues with translations, and this issue too.
So I close it.

No, it's not working in right way.
On OFN 3.2.9 this issue is still exist. Language file from transifex

The workaround could be to set a currency sign that does not contain special Russian characters?

@luisramos0 , what characters for example?
May be this will help. In EN interface currency displays Ok
vokoscreenNG-2020-10-30_20-18-15

email order confirmation has the same problem. It looks like there is one root cause for all problems)
Screenshot_20201030_202606

@luisramos0 , it looks like https://github.com/spree/spree/issues/2737 solves this problem

Solved in v3.5.6

Was this page helpful?
0 / 5 - 0 ratings