tiny-i18n 0.1.0

A tiny library to internationalize your project
Documentation

My i18n Rust library

Example

my_i18n_library::i18n!("path_of_the_translations"); //defaults to `i18n` if blank

fn main() {
    // Each translation key generates a macro
    println!("{}", i18n::hello_world!("en-us")); //the first argument is the language, the following are the arguments(optional)
}

The structure is the following :

└── *The name of your i18n folder*
    └── en-US
        └── *You can put as many JSON files as you want inside each language folder*
    └── *Other languages*