Struct l20n::Locale [] [src]

pub struct Locale { /* fields omitted */ }
Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

A Locale contains all the resources for a specific language.

Methods

impl Locale
[src]

[src]

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

Creates a new empty Locale.

[src]

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

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

[src]

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

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

[src]

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

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