Module perseus::translator[][src]

Expand description

Utilities regarding translators, including the default FluentTranslator.

Modules

Errors for translators. These are separate so new translators can easily be created in a modular fashion.

Structs

Manages translations on the client-side for a single locale using Mozilla’s Fluent syntax. This should generally be placed into an Rc<T> and referred to by every template in an app. You do NOT want to be cloning potentially thousands of translations!

Manages translations on the client-side for a single locale using Mozilla’s Fluent syntax. This should generally be placed into an Rc<T> and referred to by every template in an app. You do NOT want to be cloning potentially thousands of translations!

Constants

The file extension used by the Fluent translator, which expects FTL files.

The file extension used by the Fluent translator, which expects FTL files.