/// Get list of supported languages from cache or fallback to web
Get list of supported languages from cache or fallback to web
Get list of supported languages from cache or fallback to web
pub fn supported_langs(&self) -> Result<Vec<String>, Box<dyn Error>> {
        let sl = self.cache.supported_langs.clone().unwrap();
        if sl.len() == 0 {
            return Ok(Bliss::get_lang_list()?);
        }
        else {
            return Ok(sl);
        }
    }
pub fn supported_langs ( & self ) -> Result < Vec < String > , Box < dyn Error > > { let sl = self . cache . supported_langs . clone ( ) . unwrap ( ) ; if sl . len ( ) == 0 { return Ok ( Bliss :: get_lang_list ( ) ? ) ; } else { return Ok ( sl ) ; } }
Get list of supported languages from cache or fallback to web
Get list of supported languages from cache or fallback to web
&self