5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

LinuxのCUIを使ってgoogle翻訳を実行する

Last updated at Posted at 2017-08-27

#LinuxのCUIでgoogle翻訳を実行する

#インストール
git clone https://github.com/soimort/translate-shell
cd translate-shell/
make && sudo make install

#使ってみる
trans :ja '文章'
trans :ja 'hello'
trans :fr+en 'こんにちわ'
hello
/he?l?,h??l?/

こんにちは
(Kon'nichiwa)

Definitions of hello
[ English -> 日本語 ]

noun
今日は
    hello, good day

hello
こんにちは, もしもし

#複数の言葉に翻訳する場合は、「:~+~」と記述してやればよい。

いやー、便利です。翻訳するときにいちいちブラウザを開かなくて済むので、素晴らしい。

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?