Localization
localization is a lightweight localization implementation written in Rust.
Easy, error on compile time, zero runtime dependency.
Getting Started
Install
[]
= "0.1.2"
[]
= "0.1.2"
Create files
// translations/en-US/default.json
{
"hello": "Hello {{name}}, you are {{age}} years old!"
}
// build.rs
// main.rs
Documentation
The documentation is available on docs.rs.
License
Distributed under the MIT License. See LICENSE for more information.