sucknorris Posted March 10, 2023 Share Posted March 10, 2023 (edited) Hello together, i am setting up existing shop in localhost to make it ready for the new update. (PS 8 ) Now i have a "translation" problem with the format with the currencies. I have following currencies in my shop: Lets say i want to edit the format for euro to each language my shop has, in this example i will use the french language The Format for the french language is 14 251 999,42 € But if check for example to english it is like this "14,251,999.42 €" It seems like there are the characters missing, i can add it somewhere in the translation or i need to edit the core files? Thanks Edited March 10, 2023 by sucknorris (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 10, 2023 Share Posted March 10, 2023 Generally the price is displayed like 14 251 999,42 €, not like "14,251,999.42 €" (including double Quote) Even we have checked the same at our end and it works fine, as displayed like 14 251 999,42 €, If you want to show the price inside the double quotes then you can so the same by editing the below core file (Note: It will change the same everywhere including admin as well as front end) replace return $locale->formatPrice($price, $currencyCode); with return '"'.$locale->formatPrice($price, $currencyCode).'"'; in class/Tools.php, function : displayPrice() Link to comment Share on other sites More sharing options...
sucknorris Posted March 10, 2023 Author Share Posted March 10, 2023 Thanks, but its not about the double Quote its more about the , and . e.g. for certain languages its like this 14 251 999,42 but it should be like this 14,251,999.42 € and its weird that it is showing for some languages correctly and for some wrong Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now