https://github.com/codef0x/meddl_translate
🐉 Translate German to Meddlfrängisch.
https://github.com/codef0x/meddl_translate
Last synced: 5 months ago
JSON representation
🐉 Translate German to Meddlfrängisch.
- Host: GitHub
- URL: https://github.com/codef0x/meddl_translate
- Owner: CodeF0x
- License: mit
- Created: 2021-06-19T10:34:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-14T03:16:45.000Z (about 2 years ago)
- Last Synced: 2025-08-18T14:56:57.667Z (6 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/meddl_translate/
- Size: 64.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# meddl_translate
Translates German to Meddlfrängisch. If you don't know what that is, this is not for you.
Example:
```rust
fn main() {
println!("{}", meddl_translate::translate("Hallo"));
}
```
There's also other examples available:
```shell
$ cargo run --example hello
```
```shell
$ 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:
```json
"ignored": [
"den"
]
```
To see it in action, run:
```shell
$ cargo run --example ignored
```
# Translations file
A dictionary can be found in the `src` directory.