pub fn i18n_with_vars(key: &str, vars: Vec<String>) -> String {
    let language = std::env::var("I18N_LANGUAGE");
    match language {
        Ok(lang) => i18n_with_language_vars(key, &lang, vars),
        Err(_) => key.to_string(),
    }
}
/// get i18n value for ENV `I18N_LANGUAGE` language with variables
///
/// - if ENV `I18N_LANGUAGE` not exist, key will be returned
///
/// # Examples
///
/// ```
/// // a-b-c = "blabla {0}";
///
/// let s = i18n_with_vars("a-b-c", vec!["aaa".to_string()]);
/// println!("{}", s);
/// ```
get i18n value for ENV `I18N_LANGUAGE` language with variables
if ENV `I18N_LANGUAGE` not exist, key will be returned
get i18n value for ENV ` I18N_LANGUAGE ` language with variables if ENV ` I18N_LANGUAGE ` not exist key will be returned
pub fn i18n_with_vars(key: &str, vars: Vec<String>) -> String {
    let language = std::env::var("I18N_LANGUAGE");
    match language {
        Ok(lang) => i18n_with_language_vars(key, &lang, vars),
        Err(_) => key.to_string(),
    }
}
pub fn i18n_with_vars ( key : & str , vars : Vec < String > ) -> String { let language = std :: env :: var ( " " ) ; match language { Ok ( lang ) => i18n_with_language_vars ( key , & lang , vars ) , Err ( _ ) => key . to_string ( ) , } }
get i18n value for ENV `I18N_LANGUAGE` language with variables
 if ENV `I18N_LANGUAGE` not exist, key will be returned
get i18n value for ENV ` I18N_LANGUAGE ` language with variables if ENV ` I18N_LANGUAGE ` not exist key will be returned
key
&str
vars
Vec<String>
key
&str
vars
Vec<String>
examples
None