Skip to content

v1.2.0

Compare
Choose a tag to compare
@huacnlee huacnlee released this 10 May 07:56
· 121 commits to main since this release

What's Changed

Now i18n! method can use like:

/// Without any argument, default locale path is: "locales" in crate root.
rust_i18n::i18n!();

/// Or, special a path
rust_i18n::i18n!("/path/to/locales");

/// Or just use `fallback` option
rust_i18n::i18n!(fallback = "en")

/// Or with path and option
rust_i18n::i18n!("locales", fallback = "en")

New Contributors

Full Changelog: v1.1.4...v1.2.0