Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

合并官方中文语言包和中文版自带语言包 #7

Open
ghost opened this issue Sep 16, 2013 · 0 comments
Open

合并官方中文语言包和中文版自带语言包 #7

ghost opened this issue Sep 16, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 16, 2013

首先 cat locales/vf_zh_CN/*.php > ./zh_CN.php

然后,执行 vanilla-locales-combine.php

分别加载中文版语言包和官方中文语言包文件,分别读取到各自的$Definition。然后,利用array_merge合并,如果了两边都有的,保留官方中文包的翻译。

中文版 1658 条
官方语言包 1885 条
合并以后 1910 条

intellecat pushed a commit that referenced this issue Sep 16, 2013
#7 合并官方中文语言包和中文版自带语言包
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants