https://github.com/worktile/i18n-sync
https://github.com/worktile/i18n-sync
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/worktile/i18n-sync
- Owner: worktile
- Created: 2017-01-19T08:31:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T05:49:26.000Z (about 8 years ago)
- Last Synced: 2025-07-05T09:17:01.367Z (8 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
###服务端使用说明
`i18n-sync server [options]`
`-r`同步文件目录,默认为server/i18n/locales
`-s`同步原文件名,默认为zh-cn.json
`-t`同步目标文件名,文件名以","号隔,默认en-us,zh-tw
`-S`空格数,默认为2
`-V`版本号查询
`-h`查看帮助信息
### 前端使用说明
`i18n-sync www [options]`
`-r`同步文件目录,默认为www/static/i18n
`-s`同步原文件名,默认为zh-cn
`-t`同步目标文件名,文件名以","号隔,默认ja-jp','en-us','zh-tw
`-S`空格数,默认为2
`-V`版本号查询
`-h`查看帮助信息