Function crowbook_intl_runtime::set_lang [] [src]

pub fn set_lang<S>(lang: S) where
    S: Into<String>, 

Sets the lang that the program should be using.

After this call, all strings that has been internationalized using lformat should return the translation in this language (if available).