@uyun/everest-fanyi
fanyi
Last updated 7 years ago by maqibin .
MIT · Repository ·
$ cnpm install @uyun/everest-fanyi 
Private package

根据 everest-i18n 自动翻译中文

这是一个根据有道翻译 api 的翻译工具,可以将 everest-i18n/babel 生成的 locales.json 翻译。

原理遍历  数组当数组中的 第三项为 null 时(["迁移", "迁移", null],),翻译后重新写入 newlocales.json 文件

install

yarn global add @uyun/everest-fanyi

根据中文翻译 

    everest-fanyi ./locales.json

根据 key 翻译

    everest-fanyi ./locales.json 0

avatar

Current Tags

  • 1.0.4                                ...           latest (7 years ago)

5 Versions

  • 1.0.0                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org