pub fn load(configuration: Config) -> Result<Languages>Expand description
Load the languages of a configuration and return the Languages struct.
§Example
ⓘ
use languages_rs::{Config, load};
let mut config = Config::default();
// Add `en` language to the configuration.
config.add_language("en").unwrap();
// This loads `languages/en.json` to the cache.
let texts = load(config);