Function use_init_i18n

Source
pub fn use_init_i18n(init: impl FnOnce() -> I18nConfig) -> I18n
Expand description

Initialize the i18n provider.

See I18n::new for a manual I18n initilization where you can also handle errors.