2.0.1 • Published 4 years ago

translate-commandline v2.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

translate-commandline

A command line tool that you can translate everything!

NPM version NPM downloads

0eXJ8U.md.png

Install

npm install -g translate-commandline

Usage

translate <words> [tag] [options]
t <words> [tag] [options]

It supports translation of many languages power by cn.bing.com.

Supports language list:

Taglanguage
enEnglish
ruРусский
trTürkçe
esEspañol
ko한국어
svSvenska
itItaliano
idBahasa Indonesia
plPolski
ja日本語
frFrançais
heעברית
huMagyar
viTiếng Việt
thไทย
skSlovenčina
teతెలుగు
ukУкраїнська
bgБългарски
csČeština
deDeutsch
nlNederlands
nbNorsk
faفارسی
arالعربية
zh-Hant繁體中文
zh-Hans简体中文

If words is English or Chinese, you can omit into parameter.

Using "-p" or "--proception" option will play the English pronunciation if word is English and mplayer is installed.

For example:

$ translate "day by day"
-  day by day  ~  cn.bing.com

日复一日  [ rì fù yí rì ]


$ translate 伤心 ko
-  伤心  ~  cn.bing.com

슬프다.

$ t test -p
-  test   ~   cn.bing.com

test   美 [test]   英 [test]

  v.   试验;测试;检测;测验
  n.   试验;检测;考试;测验
 网络  检验;考验;睾酮(testosterone)

复数:tests  过去式:tested  现在分词:testing

Features

  • Translation of any languages
  • Support cn.bing.com
  • Support play the English pronunciation
2.0.1

4 years ago

2.0.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago