【文件属性】:
文件名称:proton-i18n:CLI管理客户端应用程序的翻译
文件大小:93KB
文件格式:ZIP
更新时间:2021-05-05 12:28:15
JavaScript
质子I18N
一个用于管理翻译的CLI-验证-提取-与Popularin同步
我们在React项目中使用 ,在使用 。
如何安装 ?
$ npm i -D github:ProtonMail/proton-i18n.git#semver:^1.0.0
指令
$ npx proton-i18n help
Usage: $ proton-i18n < command>
Available commands:
- crowdin
To update, download etc. translations (--help to get more details)
- validate < type>
To validate the translations, check if we have contexts
- type: default
【文件预览】:
proton-i18n-master
----.eslintrc(3KB)
----config.js(4KB)
----index.js(866B)
----package.json(2KB)
----test()
--------po()
--------js()
--------compile()
--------.env(56B)
--------run.sh(2KB)
--------files()
----.prettierrc(142B)
----.prettierignore(5B)
----Readme.md(3KB)
----LICENSE(1KB)
----package-lock.json(311KB)
----help(781B)
----.gitignore(96B)
----circle.yml(218B)
----lib()
--------extract.js(1KB)
--------postInstall.js(4KB)
--------formators()
--------crowdin.js(588B)
--------validate.js(3KB)
--------helpers()
----scripts()
--------extract.sh(2KB)
--------lint.sh(2KB)
----.editorconfig(214B)