本文以扩展中文包为例:
首先进入自己 Magento 后台
系统 -> 管理商店(System -> Manage Stores)![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
单击 “创建店铺视图”(Create Store View)![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
选择要创建视图的店铺,这里默认 Main Store
命名视图名称,这个可以根据自己需要定义,用在店铺选择语言的切换上。
命名视图Code,这个也是自定义的。用在这里,如:http://www.imt.local/cn/ 这样就可以直接访问你配置的这个视图了。
Sort Order,排序用的,如下图又上角。![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
单击“保存” 视图成功创建。
接下来到店铺首页在 Your Language 选择 “简体中文”
哦出现以下报警![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
单击 Home page 项![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
按住Ctrl键盘 单击“简体中文”,如下被选中的颜色都变成蓝色的。
保存配置![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
报警提示没了,中文版切换成功。
有个疑问,为什么还是英文?
需要配置下,继续往下看。![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
系统 -> 配置 (System -> Configuration)![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
选择要配置店铺的视图,我们这里选“简体中文”
General -> Locale Options
Locale项 选择 Chinese(China)![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
保存配置,并访问店铺简体中文视图,依然显示英文。
我们还需要扩展中文包(即安装中文包)
如下:System -> Magento Connect -> Magento Connect Manager![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
填写 用户名和密码(用户名和密码即登录Magento后台的用户名密码)
登录![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
在打开的页面中,右上角 Search for Extensions 中搜索 chinese![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
Install Now 获取 Extension Key 并复制
如下图:![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
将复制的 extension key 粘贴到以下位置,单击 Install![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
单击 Install 后会出现个 安装描述的信息,单击 Proceed 开始安装。![[转载]Magento <wbr>店铺多语言设置 [转载]Magento <wbr>店铺多语言设置](https://jianghaizhi.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
原创文章,作者:江海志,如若转载,请注明出处:https://jianghaizhi.com/wzjs/941.html