My i18n Rust library
Features
- Fully at compile-time (shouldn't ever crash or experience an issue at runtime)
- Supports arguments (not named, it uses format!() under the hood, see its documentation for all of its caracteristics)
- Fallback language choice (for now, it is always
en-US)
Example
i18n!; //defaults to `i18n` if blank
The structure is the following :
└── *The name of your i18n folder*
└── en-US
└── *You can put as many .txt files as you want inside each language folder, the name of the file (without the .txt extension) is the id of the translation*
└── *Other languages*