dioxus_rust_i18n/lib.rs
1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3
4mod error;
5mod global;
6mod hooks;
7mod macros;
8mod runtime;
9
10pub use dioxus_rust_i18n_macro::i18n;
11pub use error::I18nError;
12pub use global::{
13 global_locale, set_global_locale, translate_global, translate_global_with_args,
14 try_translate_global, try_translate_global_with_args,
15};
16pub use hooks::{I18nSession, use_i18n, use_init_i18n_from};
17pub use runtime::I18nRuntime;