API Reference Localize Translate v#0.2.0

Copy Markdown View Source

Modules

Manage translations embedded into translation structs.

Adapter that exposes the Erlang :json module under the bang-suffixed API (encode!/1, decode!/1, encode_to_iodata!/1) expected by Ecto and Postgrex.

Provides helpers for filtering translations in Ecto.Queries.

Behaviour for translation storage backends.

The default translation store, keeping translations on the subject itself.

A translation store keeping translations in a sibling table, one row per (subject, locale).

Mix Tasks

Generates a migration to add a database function translate_field that uses the Localize.Translate structured translation schema to resolve a translation for a field.