Magento:西班牙语言中的小数价格显示点号而不是逗号 [英] Magento: Decimal Price in spanish language display Dot instead comma
问题描述
我有多语言商店.默认语言是英语.很少有产品具有十进制价格.
i have multilanguage store. default language is english. there are few products have decimal price.
当我将语言切换为西班牙语时,会出现逗号而不是十进制价格的点.
when i switch languge to spanish the comma appears instead dot in decimal price.
例如:价格:当我将语言切换为西班牙语时,英语为1.35 $,价格看起来像价格:1.35 $
for example: price: 1.35$ in english when i switch language to spanish the price will look like Price: 1,35$
我真的想删除这个,需要.怎么做.?
i really wanna remove this , need . how to do that.?
推荐答案
您可以尝试更改本地设置.因此,转到您的magento目录,然后打开文件lib/Zend/Locale/Data/en.xml(用您要对其进行更改的语言文件替换en.xml).
You could try to change the local settings. So go to your magento directory and open the file lib/Zend/Locale/Data/en.xml (replace en.xml by the language file for which you would like to perform your changes).
搜索
<numbers>
<symbols>
<decimal>.</decimal>
<group>,</group>
清除缓存,也为了安全起见,请尝试在测试安装时首先执行此操作,以避免出现问题.
Clear the cache, also for safer side please try to do this first on your test installation to avoid issues.
这篇关于Magento:西班牙语言中的小数价格显示点号而不是逗号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!