I18n Helpers v0.7.0 API Reference

Modules

Provides macros for defining translatable fields and associations.

Provides view helpers to render HTML input fields for text that must be provided in multiple languages. The multilingual texts passed to the form (usually in a changeset) are expected to be maps where each key represents a locale and each value contains the text for that locale. For example

Plug to fetch the locale from the URL's subdomain; assigns the locale to the Connection and sets the Gettext locale.

Plug to fetch the locale from the first segment of the URL's request path; assigns the locale to the Connection and sets the Gettext locale.

Plug to fetch the locale from the URL's subdomain; assigns the locale to the Connection and sets the Gettext locale.