Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 675 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 675 Bytes

eztrans

check the source code for more information. default is using google api (accessable from mainland)

usage

# ./eztrans --help
usage: eztrans [-h] [-s [S]] [-d [D]] content

Simple commandline translator by https://github.com/matrix1001

positional arguments:
  content

optional arguments:
  -h, --help  show this help message and exit
  -s [S]      language shortcut. like zh, en, ja......
  -d [D]      language shortcut. like zh, en, ja......

# ./eztrans hello
你好

# ./eztrans hola
你好

# ./eztrans -s en -d es 'this is a good day today'
este es un buen día hoy

# ./eztrans -s en -d ja 'have a try'
試してみる