CodeF0x / meddl_translate

🐉 Translate German to Meddlfrängisch.

Home Page:https://crates.io/crates/meddl_translate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

meddl_translate

Translates German to Meddlfrängisch. If you don't know what that is, this is not for you.

Example:

fn main() {
  println!("{}", meddl_translate::translate("Hallo"));
}

There's also other examples available:

$ cargo run --example hello
$ cargo run --example long-text

Exceptions

It's possible to exclude words that should not be translated, e. g. "den" by adding it to the "ignored" array in the translation file:

"ignored": [
  "den"
]

To see it in action, run:

$ cargo run --example ignored

Translations file

A dictionary can be found in the src directory.

About

🐉 Translate German to Meddlfrängisch.

https://crates.io/crates/meddl_translate/

License:MIT License


Languages

Language:Rust 100.0%