Crow Translate:使用 Google Translate、Yandex Translate、Bing Translator 的桌面/CLI 文本翻譯應用程序


Crow Translate 是一個應用程序(提供 Qt5 GUI 和命令行界面),允許您使用 Google Translate、Yandex Translate 和 Bing Translator 翻譯和說出文本。

輕量級文本翻譯應用同時支持 Linux 和 Windows,不僅可以翻譯您在應用中鍵入的文本,還可以在按下可配置的鍵盤快捷鍵文本後顯示彈出窗口,用鼠標閱讀您的選擇。也翻譯或翻譯。

特徵:

  • 翻譯用戶添加文本或支持文本選擇的應用程序選擇文本的語音翻譯並作為選項播放
  • 可自定義的鍵盤快捷鍵(包括翻譯所選文本、播放所選文本的音頻翻譯、顯示主窗口等全局快捷鍵)
  • Qt5 GUI 和功能豐富的命令行界面
  • 在 117 種語言之間進行翻譯
  • 適用於 Linux 和 Windows

該應用程序的主用戶界面非常簡單,有兩個用於翻譯文本的語言窗格。在底部有一個按鈕可以大聲朗讀文本並將其複製到剪貼板。還有一個下拉菜單,您可以在其中選擇翻譯 API,您可以從 Google Translate、Yandex Translate 或 Bing Microsoft Translate 中進行選擇。

在頂部,在每個窗格中[自動]有一個按鈕。這允許您的翻譯 API(Google、Yandex 或 Bing)自動檢測源語言和目標語言。點擊
+

用於向工具欄添加多種語言(最多 3 個)的按鈕。 您還可以在 Crow Translate 設置中設置主要和次要語言。

烏鴉翻譯彈出窗口翻譯選定的文本

用於翻譯選定的文本
您可以選擇在 Crow Translate 主窗口中顯示翻譯,或顯示具有不透明度、高度和寬度等設置的可自定義彈出窗口。

應用程序設置開始最小化到托盤
因此,在使用它之前請記住這一點,並確保您正在使用某些系統托盤或您的桌面支持應用程序指示器。

請注意,您需要運行應用程序以使用一些全局快捷方式,例如翻譯所選文本的快捷方式(這將幫助您開始最小化到托盤)(
Ctrl + Alt + E

播放所選文本的語音翻譯的快捷方式(默認)或快捷方式
Ctrl + Alt + F

這是默認設置,但您可以從應用程序設置中更改它)。另一件事,據我所知,只能從托盤菜單訪問應用程序設置。

在此頁面上,您可以找到 Crow Translate 支持的鍵盤快捷鍵列表。

Crow Translate 命令行界面還具有豐富的功能,包括自動檢測源語言和目標語言、用於翻譯文本文件的選項以及指定翻譯引擎(Google、Yandex 或 Bing)。

$ crow --help
Usage: crow [options] text
A simple and lightweight translator that allows to translate and say text using the Google Translate API and much more.

Options:
  -h, --help                Displays this help.
  -v, --version             Displays version information.
  -c, --codes               Show all language codes.
  -s, --source        Specifies the source language. By default, Google
                            will try to determine the language on its own.
  -t, --translation   Specifies the translation language(s), joined by
                            '+'. By default, the system language is used.
  -l, --locale        Specifies the translator language. By default, the
                            system language is used.
  -e, --engine      Specifies the translator engine ('google', 'yandex'
                            or 'bing'). Google is used by default.
  -p, --speak-translation   Speaks the translation.
  -u, --speak-source        Speaks the original text.
  -a, --audio-only          Prints text only for playing when using
                            --speak-translation or --speak-source.
  -f, --file                Read source text from files. Arguments will be
                            interpreted as file paths.
  -i, --stdin               Add stdin data to source text.

Arguments:
  text                      Text to translate. By default, the translation will
                            be done to the system language.

這對很多人來說可能是顯而易見的,但我還是想提一下——因為我們使用在線翻譯服務,如穀歌翻譯、Yandex 翻譯、必應微軟翻譯,這個應用程序用於執行翻譯。需要有效的互聯網連接。

Crow Translate 唯一失敗的是其界面被翻譯的語言。該應用程序可以翻譯/翻譯 117 種語言,但其界面僅在最新穩定版本中提供英語和俄語、葡萄牙語(巴西)和 Git 中的簡體中文。如果您想幫助將 Crow 翻譯翻譯成您的語言,請查看應用頁面。

下載烏鴉翻譯

Crow Translate 適用於 Linux 和 Windows。它的下載頁麵包含用於 Linux 和 Windows 安裝的 DEB(Debian、Ubuntu、Linux Mint 等)和 RPM(Fedora、RHEL、openSUSE 等)二進製文件。在應用程序項目頁面上還有一個 Arch Linux 軟件包以及手動構建說明。