[−][src]Function rocket_i18n::i18n
pub fn i18n(domain: &str, lang: Vec<&'static str>) -> Translations
Loads translations at runtime. Usually used with rocket::Rocket::manage
.
Note that the .mo
files should be present with your binary. If you want to embed them,
use gettext_macros::include_i18n
.