PHPackages                             fever365/magento\_zh\_hans\_cn - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. fever365/magento\_zh\_hans\_cn

ActiveMagento2-language[Localization &amp; i18n](/categories/localization)

fever365/magento\_zh\_hans\_cn
==============================

Chinese language package for Magento 2

02PHP

Since Dec 2Pushed 6y agoCompare

[ Source](https://github.com/fever365/magento_zh_hans_cn)[ Packagist](https://packagist.org/packages/fever365/magento_zh_hans_cn)[ RSS](/packages/fever365-magento-zh-hans-cn/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Magento2 中文语言包

[](#magento2-中文语言包)

目前网上有很多Magento2中文语言包，我尝试过各种版本的中文语言包，大多让人感觉翻译生硬，不够本土化。本语言包基于[Crowdin](https://crowdin.com/)网站上[Magento2官方翻译项目](https://crowdin.com/project/magento-2/zh-CN)生成，并参考第三方中文语言包（[Magento2Translations](https://github.com/Magento2Translations/language_zh_hans_cn), [mageplaza](https://github.com/mageplaza/magento-2-chinese-language-pack)）翻译结果，新增部分词条，完善大量的词条翻译。语言包尚存不足之处，我会持续地更新迭代加以完善，同时希望大家一起贡献代码，体验更好的Magento2中文版。

### 安装语言包

[](#安装语言包)

**Composer安装**

```
cd
composer require benheart/magento_zh_hans_cn:dev-master
php bin/magento cache:clean && php bin/magento setup:static-content:deploy zh_Hans_CN

```

**手动安装**

- [下载 Magento2 中文包](https://github.com/benheart/magento_zh_hans_cn/archive/master.zip)
- 解压并上传文件到指定目录：&lt;magento2 path&gt;/app/i18n/benheart/magento\_zh\_hans\_cn
- 在Magento2根目录执行命令：

```
php bin/magento cache:clean && php bin/magento setup:static-content:deploy zh_Hans_CN

```

- 登录Magento2管理后台，选择中文语言包：Stores -&gt; Configuration -&gt; General &gt; General -&gt; Locale options -&gt; Chinese (China) [![后台总览](https://camo.githubusercontent.com/9a5a8fa005185e0ffe1d4688646e9be793c841ab0595f192288fbf07cc83923f/687474703a2f2f692e696d6775722e636f6d2f317a53323568482e706e67)](https://camo.githubusercontent.com/9a5a8fa005185e0ffe1d4688646e9be793c841ab0595f192288fbf07cc83923f/687474703a2f2f692e696d6775722e636f6d2f317a53323568482e706e67)

### 截图演示

[](#截图演示)

**管理员后台**

- 后台总览 [![后台总览](https://camo.githubusercontent.com/f411733a4b7884e9cd57ffd6dc9f3582d6b59913ff089898b64362e95f4ea6af/687474703a2f2f692e696d6775722e636f6d2f646336683769562e706e67)](https://camo.githubusercontent.com/f411733a4b7884e9cd57ffd6dc9f3582d6b59913ff089898b64362e95f4ea6af/687474703a2f2f692e696d6775722e636f6d2f646336683769562e706e67)
- 二级目录 [![二级目录](https://camo.githubusercontent.com/388dd157aab00a9acdc06d64e35abd1410b89f9eafa4448ca9dfe90bf13296a5/687474703a2f2f692e696d6775722e636f6d2f6f637654416c742e706e67)](https://camo.githubusercontent.com/388dd157aab00a9acdc06d64e35abd1410b89f9eafa4448ca9dfe90bf13296a5/687474703a2f2f692e696d6775722e636f6d2f6f637654416c742e706e67)
- 商品列表 [![商品列表](https://camo.githubusercontent.com/7968699a80079e838ff555ec2ead19a4cf3fa14e18aaa3a66d76496f8a8b5871/687474703a2f2f692e696d6775722e636f6d2f68566c4d6e726d2e706e67)](https://camo.githubusercontent.com/7968699a80079e838ff555ec2ead19a4cf3fa14e18aaa3a66d76496f8a8b5871/687474703a2f2f692e696d6775722e636f6d2f68566c4d6e726d2e706e67)

**用户前端**

- 首页 [![首页](https://camo.githubusercontent.com/5029ac767c50cec6898841633a0a018f2a83fc3d7d463cc3442e02929f8f70d9/687474703a2f2f692e696d6775722e636f6d2f744b75564a4f342e706e67)](https://camo.githubusercontent.com/5029ac767c50cec6898841633a0a018f2a83fc3d7d463cc3442e02929f8f70d9/687474703a2f2f692e696d6775722e636f6d2f744b75564a4f342e706e67)
- 个人中心 [![个人中心](https://camo.githubusercontent.com/26bb8c8dca8106d20ae8ecaf7291e022cbe4a1a21783bbb4c9fe4f9e0b96dc81/687474703a2f2f692e696d6775722e636f6d2f465947705366422e706e67)](https://camo.githubusercontent.com/26bb8c8dca8106d20ae8ecaf7291e022cbe4a1a21783bbb4c9fe4f9e0b96dc81/687474703a2f2f692e696d6775722e636f6d2f465947705366422e706e67)
- 商品列表 [![商品列表](https://camo.githubusercontent.com/40907a90c7a04ea101bb742b8d61a366cd63e59e4dede4871087063cf66f2f01/687474703a2f2f692e696d6775722e636f6d2f47586e474676512e706e67)](https://camo.githubusercontent.com/40907a90c7a04ea101bb742b8d61a366cd63e59e4dede4871087063cf66f2f01/687474703a2f2f692e696d6775722e636f6d2f47586e474676512e706e67)
- 商品详情页 [![商品详情页](https://camo.githubusercontent.com/f57ad709f314dcc6664c83097d9cde69da984bc3a1028b2ce8ab9032085cc461/687474703a2f2f692e696d6775722e636f6d2f32434157436b342e706e67)](https://camo.githubusercontent.com/f57ad709f314dcc6664c83097d9cde69da984bc3a1028b2ce8ab9032085cc461/687474703a2f2f692e696d6775722e636f6d2f32434157436b342e706e67)

### 贡献代码

[](#贡献代码)

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

### 卸载语言包

[](#卸载语言包)

```
cd
composer remove benheart/magento_zh_hans_cn:dev-master

```

### 注意事项

[](#注意事项)

- 官方Magento2.1.3+存在[Bug](https://github.com/magento/magento2/issues/7862)会导致Js翻译出现问题
- 安装本中文包前请备份Magento2

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1522139?v=4)[fever365](/maintainers/fever365)[@fever365](https://github.com/fever365)

---

Top Contributors

[![benheart](https://avatars.githubusercontent.com/u/8767397?v=4)](https://github.com/benheart "benheart (33 commits)")[![fever365](https://avatars.githubusercontent.com/u/1522139?v=4)](https://github.com/fever365 "fever365 (1 commits)")

### Embed Badge

![Health badge](/badges/fever365-magento-zh-hans-cn/health.svg)

```
[![Health](https://phpackages.com/badges/fever365-magento-zh-hans-cn/health.svg)](https://phpackages.com/packages/fever365-magento-zh-hans-cn)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.8k](/packages/laradevs-spanish)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
