コマンドライントランスレーター Translate Shell

Nid: 901

コマンドラインで翻訳するツール。 Google Translate, Bing Translator, Yandex.Translate, Apertium を利用しています。

$ sudo apt install translate-shell
$ trans fr:en -brief 'Saluton, Mondo!'
Hello, World!

対話型シェル

$ trans -shell -brief
> Rien ne réussit comme le succès.
Nothing succeeds like success.
> Was mich nicht umbringt, macht mich stärker.
What does not kill me makes me stronger.
> Юмор есть остроумие глубокого чувства.
Humor has a deep sense of wit.
> 學而不思則罔,思而不學則殆。
Learning without thought is labor lost, thought without learning is perilous.
> 幸福になるためには、人から愛されるのが一番の近道。
In order to be happy, the best way is to be loved by people.