1.0.0 • Published 2 years ago

i18n-assistant v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

i18n-tool -- 国际化翻译整理工具

  1. 可以把项目中的国际化文件转为xls表格
  2. 可以把xls文件转为Json文件

Install

$ npm install -g i18n-tool

Example

$ i18n start
$ i18n translate <main-Name> <sub-Name>
$ i18n analy <xls-name>

Usage

在需要做国际化整理的文件所处的目录下打开CMD窗口

Usage: cli [options] [command]

Options:
  -V, --version                     output the version number
  -h, --help                        display help for command

Commands:
  start                             Start Working
  translate <main-name> <sub-name>  将主副文件提取为EXCEL
  analy <xls-name>                  将Excel文件转为JSON
  help [command]                    display help for command