Struct l20n::Locale [] [src]

pub struct Locale { /* fields omitted */ }

A Locale contains all the resources for a specific language.

Methods

impl Locale
[src]

Creates a new empty Locale.

Add a L20n string resource, and it will be parsed.

Resolves all the resouces into Strings, and returns a Deserialize object of your choosing.

Same as localize, but you provide environment Data for the L20n files to use.