This Program use Google's undocumented api, service may not be available at some day...
sh
cargo install google_translator
```text
Usage: google_translator [OPTIONS]
Options:
-i, --input
If translation doesn't work well, You can change the API of the source code according to the API format transmitted from inside Google translator.
In source, buildgoogleapiquery function is prepared for multiple lines of input using \r\n, and sendgoogleapiquery function is prepared for multiple lines of output.
If you want to get multiple lines of output, see the comment of sendgoogleapi_query function, you can get values for similar results.
The project is a toy project developed based on content that was used for a while while working, and may or may not be improved, libraryized, and error corrected.
Because it uses Google's undocumented API, please be careful when using it.