languages-rs

An internationalization library for Rust.
Installation
Use with JSON language files:
[]
= { = "0.2.0", = ["with-json"] }
Use with TOML language files:
[]
= { = "0.2.0", = ["with-toml"] }
Basic Usage
languages/en.json
src/main.rs
use ;
Examples
-
json_files - Languages files with JSON.
$ cargo run --example json_files --features "with-json"
-
toml_files - Languages files with TOML.
$ cargo run --example toml_files --features "with-toml"
Testing
$ cargo test
Authors
- @daschdev - Initial project
Changelog
View the lastest repository changes in the CHANGELOG.md file.
Copyright
License: MIT
Read file LICENSE for more information.