i18n 0.1.0

Compile-time internationalization (i18n) for Dioxus applications using Rust macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod language;
pub mod tf;
pub mod translate;

#[cfg(feature = "dioxus")]
pub mod context;

mod translations;

pub use language::Language;
pub use tf::tf;
// translate! macro is re-exported via #[macro_export] and pub mod translate
pub use translations::{EN, Translations, ZH};

#[cfg(feature = "dioxus")]
pub use context::I18nContext;