Rust I18n uses Rust codegen to load YAML file storage translations at compile time, providing a t! macro for simple translation text retrieval.
# Cargo.toml
[dependencies]
rust-i18n = "4.0.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Translate a key using the t! macro.
Place YAML files in a 'locales' directory at the crate root.
No dependency data recorded yet.