0.1.4 • Published 5 years ago

rigo v0.1.4

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

rigo

a simple translate tool for zh-en.

1. Basic Usage

how to use?:

yarn global add rigo

first you need a file such as:

module.exports = {
  en: {},

  zh: {
    curtain0: '百叶窗',
    curtain1: '香格里拉窗帘',
    curtain2: '罗马帘',
    curtain3: '卷帘',
    curtain4: '柔纱帘',
    curtain5: '卷窗',
    curtain6: '蜂巢帘',
    curtain7: '百褶帘',
    curtain8: '卷闸门',
    curtain9: '遮阳蓬',
    curtain10: '开合帘',
    curtain11: '罗马杆',
  },
}

next

rigo -f ./strings.js

We will replace the source file with the translated file

command:

  • rigo -f => Documents that need to be translated
  • rigo -o => The location to which the translated file needs to be exported
  • riclean -f => delete file

Todo

At present, only relative of files is supported. absolute position support will be added as soon as possible。

Currently, only Chinese to English is supported. Other languages will be added as soon as possible。

no import is not supported.

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago