Google翻訳のようなものがありますが、デスクトップ用はありますか?

Google翻訳のようなものがありますが、デスクトップ用はありますか?

私はDebianでfreeict-allを見ました。

    $ sudo aptitude install dict-freedict-all
    [sudo] password for shirish: 
    The following NEW packages will be installed:
   dict-freedict-afr-deu{a} dict-freedict-afr-eng{a} dict-freedict-all


dict-freedict-ara-eng{a} dict-freedict-bre-fra{a} dict-freedict-ces-eng{a}
dict-freedict-ckb-kmr{a} dict-freedict-cym-eng{a} dict-freedict-dan-eng{a}dict-freedict-deu-eng{a} dict-freedict-deu-fra{a} dict-freedict-deu-ita{a} dict-freedict-deu-kur{a} dict-freedict-deu-nld{a} dict-freedict-deu-por{a} dict-freedict-deu-swe{a} dict-freedict-deu-tur{a} dict-freedict-eng-afr{a} dict-freedict-eng-ara{a} dict-freedict-eng-ces{a} dict-freedict-eng-cym{a} dict-freedict-eng-deu{a} dict-freedict-eng-ell{a} dict-freedict-eng-fra{a} dict-freedict-eng-gle{a} dict-freedict-eng-hin{a} dict-freedict-eng-hrv{a} dict-freedict-eng-hun{a} dict-freedict-eng-ita{a} dict-freedict-eng-lat{a} dict-freedict-eng-lit{a} dict-freedict-eng-nld{a} dict-freedict-eng-pol{a} dict-freedict-eng-por{a} dict-freedict-eng-rom{a} dict-freedict-eng-rus{a} dict-freedict-eng-spa{a} dict-freedict-eng-srp{a} dict-freedict-eng-swe{a} dict-freedict-eng-swh{a} dict-freedict-eng-tur{a} dict-freedict-fra-bre{a} dict-freedict-fra-deu{a} dict-freedict-fra-eng{a} dict-freedict-fra-nld{a} dict-freedict-gla-deu{a} dict-freedict-gle-eng{a} dict-freedict-gle-pol{a} dict-freedict-hrv-eng{a} dict-freedict-hun-eng{a} dict-freedict-isl-eng{a} dict-freedict-ita-deu{a} dict-freedict-ita-eng{a} dict-freedict-jpn-deu{a} dict-freedict-jpn-eng{a} dict-freedict-jpn-fra{a} dict-freedict-jpn-rus{a} dict-freedict-kha-deu{a} dict-freedict-kha-eng{a} dict-freedict-kur-deu{a} dict-freedict-kur-eng{a} dict-freedict-kur-tur{a} dict-freedict-lat-deu{a} dict-freedict-lat-eng{a} dict-freedict-lit-eng{a} dict-freedict-mkd-bul{a} dict-freedict-nld-deu{a} dict-freedict-nld-eng{a} dict-freedict-nld-fra{a} dict-freedict-nno-nob{a} dict-freedict-oci-cat{a} dict-freedict-pol-gle{a} dict-freedict-por-deu{a} dict-freedict-por-eng{a} dict-freedict-san-deu{a} dict-freedict-slk-eng{a} dict-freedict-spa-ast{a} dict-freedict-spa-eng{a} dict-freedict-spa-por{a} dict-freedict-srp-eng{a} dict-freedict-swe-deu{a} dict-freedict-swe-eng{a} dict-freedict-swh-eng{a} dict-freedict-swh-pol{a} dict-freedict-tur-deu{a} dict-freedict-tur-eng{a} 
        0 packages upgraded, 86 newly installed, 0 to remove and 0 not upgraded.
        Need to get 48.9 MB of archives. After unpacking 80.1 MB will be used.
        Do you want to continue? [Y/n/?] n

私のユースケースは簡単です。ネットワークにアクセスせずに他の言語に構文を翻訳できるようにしたいです。上記のツールを使用できますか?少し混乱しても文法的構文などはそれほど価値があるかもしれません。

ベストアンサー1

コマンドラインツール:translate-shell

Translate Shell(以前の Google Translate CLI)は、Google Translate(デフォルト)、Bing Translator、Yandex.Translate、DeepL Translator、および Apertium が提供するコマンドライントランスレータです。これにより、端末からこれらの翻訳エンジンの1つに簡単にアクセスできます。

apt install translate-shell

たとえば、

trans 'Salut!, Bonjour!, Soyez le bienvenu!'

出力例:

Salut!, Bonjour!, Soyez le bienvenu!
(null)

Hi!, Hello!, Welcome!
/null/

Translations of Salut!, Bonjour!, Soyez le bienvenu!
[ Français -> English ]

Salut!, Bonjour!, Soyez le bienvenu!
    Hi!, Hello!, Welcome!

trans --help詳細は参照してください。

-p次のオプションを使用して音声シンセサイザを有効にできます。

trans 'Buenos días. ¿Cómo estás?' -p

ターゲット言語を変更するには、[source_LANG]:[target_LANG]次のようにします。 (スペイン語からフランス語へ):

trans es:fr 'Buenos días. ¿Cómo estás?'

または:

trans -s es -t fr 'Buenos días. ¿Cómo estás?'

githubのホームページ。

おすすめ記事