Skip to content

zchking/magento2_zh_hant_tw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento2 繁體中文语言包

感謝 benheart 根據benheart/magento2_zh_hans_cn改寫。 From benheart: 目前网上有很多Magento2中文语言包,我尝试过各种版本的中文语言包,大多让人感觉翻译生硬,不够本土化。本语言包基于Crowdin网站上Magento2官方翻译项目生成,并参考第三方中文语言包(Magento2Translations, mageplaza)翻译结果,新增部分词条,完善大量的词条翻译。语言包尚存不足之处,我会持续地更新迭代加以完善,同时希望大家一起贡献代码,体验更好的Magento2中文版。

安装语言包

Composer安装

cd <magento2 path>
composer require zchking/magento2_zh_hans_tw:dev-master
php bin/magento cache:clean && php bin/magento setup:static-content:deploy zh_Hans_TW

手动安装

  • 下载 Magento2 中文包
  • 解压并上传文件到指定目录:<magento2 path>/app/i18n/zchking/magento2_zh_hans_tw
  • 在Magento2根目录执行命令:
php bin/magento cache:clean && php bin/magento setup:static-content:deploy zh_Hans_TW
  • 登录Magento2管理后台,选择中文语言包:Stores -> Configuration -> General > General -> Locale options -> Chinese (Taiwan) 后台总览

截图演示

管理员后台

  • 后台总览 后台总览
  • 二级目录 二级目录
  • 商品列表 商品列表

用户前端

  • 首页 首页
  • 个人中心 个人中心
  • 商品列表 商品列表
  • 商品详情页 商品详情页

贡献代码

  • Fork本项目到你GitHub仓库中
  • Clone你GitHub上本项目到本地
  • 本地修改完善语言包,Commit到本地仓库
  • Push新增和改动代码到你GitHub上本项目
  • Pull request, 审核通过后合并到主干

卸载语言包

cd <magento2 path>
composer remove zchking/magento2_zh_hans_tw:dev-master

注意事项

  • 官方Magento2.1.3+存在Bug会导致Js翻译出现问题
  • 安装本中文包前请备份Magento2

About

Translational Chinese language package for Magento 2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%