soimort / translate-shell

:speech_balloon: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.
https://www.soimort.org/translate-shell
The Unlicense
6.94k stars 391 forks source link

Supported languages depending on the engine #355

Open Driglu4it opened 4 years ago

Driglu4it commented 4 years ago

Good afternoon. I'm developing GUI for your package. The question is: how do you learn supported languages depending on the translate engine (manually for a very long time)? Thank you.

Vascom commented 4 years ago

May be trans -T or trans -R

soimort commented 4 years ago

The only reliable way to find out which languages are supported by a particular translate engine is to go to their websites and check out their drop-down lists:

You may also look at the source code of Languages.awk. The first 108 languages are officially supported by Google. Those with a "bing-only" field are supported only by Bing. However, it does not indicate which languages are supported by Google but not supported by Bing. Also, the information there could be a bit outdated, as Google Translate and Bing are evolving and adding new language support from time to time.

Driglu4it commented 4 years ago

You may also look at the source code of Languages.awk.

Thanks, this very helpful!