2 unstable releases
0.2.0 | Oct 31, 2022 |
---|---|
0.1.0 | Nov 27, 2020 |
#234 in Internationalization (i18n)
15KB
96 lines
dl-translate
Overview
A Rust-based CLI to query a translation from DeepL using an API key.
You need to place your API key in the file CONFIG/dl-translate.toml
with the following format:
auth_key = "KEY_UUID"
where CONFIG
is the standard config directory of your platform.
Then, install Rust, then run:
cargo run dl-translate TARGET_LANG [SOURCE_LANG] [more/less (FORMALITY)]
where X_LANG
is a DeepL-support language tag.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~4–17MB
~246K SLoC