translate-shell

mac安装

$ mkdir tools
$ cd tools
$ git clone https://github.com/soimort/translate-shell
$ cd translate-shell/
$ make
[OK] Task build completed.
$ sudo make install
[OK] Task build completed.
[OK] translate-shell installed.
如果有gawk报错:
$ brew install gawk

进入命令行翻译

$ trans :zh -b -shell
Translate Shell
(:q to quit)
> english
英语
> trans
反式
> hello world
你好,世界
> :q
退出

相关文章:

  • 2021-08-03
  • 2022-12-23
  • 2021-06-05
  • 2022-03-09
  • 2022-12-23
  • 2021-05-23
  • 2022-02-27
猜你喜欢
  • 2021-12-03
  • 2022-02-10
  • 2022-01-02
  • 2021-12-13
  • 2021-05-26
  • 2021-08-06
  • 2021-05-23
相关资源
相似解决方案