magento中的货币符号 [英] Currency Symbol in magento

查看:51
本文介绍了magento中的货币符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用两种不同的语言创建了两个Magento商店视图:

I have created two Magento Store Views in two Different Languages:

  1. 英语
  2. 荷兰人

英语(EURO)货币符号以正确的方式出现,如€20.00,但对于荷兰语视图,它向我显示了20,00 EUR.我想默认设置两个视图的符号€,因为欧元是相同的.我如何在Magento中实现它.

English (EURO) Currency symbol comes in proper manner like € 20.00 but for Dutch Language view it shows me like 20,00 EUR. I wants to setup by default symbol € for both views since the EURO is the same. How can i achieve it in Magento.

推荐答案

您可以更改语言环境设置

You can change your locale setting

这是英语的示例.为此,您必须在语言文件中进行较小的更改.以下是文件的目录结构.

here is example for English. For that you have to do Minor changes in your Language File. Following is the Directory Structure of File.

=> root/lib/Zend/Locale/Data/en.xml (For English Language)

=> around line 2611 you can see following code.
 <currencyFormat>
      <pattern>¤#,##0.00;(¤#,##0.00)</pattern>
 </currencyFormat>

=> Now Change above code with Following code.

  <currencyFormat>
       <pattern>#,##0.00 ¤;(#,##0.00 ¤)</pattern>
 </currencyFormat>

您可以将其设置为Dutch.

这篇关于magento中的货币符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆