Super simple CLI tool for translating words/terms using Wikipedia.
Services such as Google Translate usually aren't accurate for translating technical terms, this tool provides an alternative by using the Wikipedia database with user defined translations.
No demo visible here? View it on asciinema.
This tool uses skim
as interactive selection interface.
Using this tool is stupidly simple: ```bash
wikitrans rust
wikitrans rust --language en --translate nl rust
wikitrans rust -l en -t nl rust ```
To install this tool, clone the repository and install it with cargo
.
First make sure you meet the following build requirements:
- Rust v1.31
or higher (with cargo
, install using rustup
)
- git
Then use the following commands: ```bash
git clone https://gitlab.com/timvisee/wikitrans.git
cargo install --path wikitrans
cargo install --path wikitrans --force ```
``` $ wikitrans --help
wikitrans 0.1.2 timvisee timvisee@gmail.com Translate terms using Wikipedia
USAGE:
wikitrans [OPTIONS]
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-l, --language
ARGS:
This project is released under the GNU GPL-3.0 license. Check out the LICENSE file for more information.