1 unstable release

0.1.0 Aug 23, 2020

#243 in Internationalization (i18n)

MIT license

5KB

albhed

A translator for the Al Bhed language.

Al Bhed is the language spoken by the Al Bhed people in the land of Spira, the main setting of the game Final Fantasy X.

This library doesn't attempt to detect English loanwords that are present in Al Bhed at the time of the game, as in airship/fiend/etc.

Usage

Converting Al Bhed into English:

let al_bhed = "Oui yvnyet uv dra cay?";
let english = al_bhed.chars().filter_map(albhed::from_al_bhed).collect::<String>();
assert_eq!("You afraid of the sea?", english);

Converting English into Al Bhed:

let english = "Beware of Sandstorms!";
let al_bhed = english.chars().filter_map(albhed::to_al_bhed).collect::<String>();
assert_eq!("Pafyna uv Cyhtcdunsc!", al_bhed);

License: MIT


lib.rs:

A translator for the Al Bhed language.

Al Bhed is the language spoken by the Al Bhed people in the land of Spira, the main setting of the game Final Fantasy X.

This library doesn't attempt to detect English loanwords that are present in Al Bhed at the time of the game, as in airship/fiend/etc.

Usage

Converting Al Bhed into English:

let al_bhed = "Oui yvnyet uv dra cay?";
let english = al_bhed.chars().filter_map(albhed::from_al_bhed).collect::<String>();
assert_eq!("You afraid of the sea?", english);

Converting English into Al Bhed:

let english = "Beware of Sandstorms!";
let al_bhed = english.chars().filter_map(albhed::to_al_bhed).collect::<String>();
assert_eq!("Pafyna uv Cyhtcdunsc!", al_bhed);

No runtime deps