gettext v0.17.0 API Reference

Modules

The Gettext module provides a gettext-based API for working with internationalized applications.

Behaviour that defines the macros that a Gettext backend has to implement.

This module provides facilities for working with PO (.po) and POT (.pot) files (mainly parsing).

A struct that holds information on a plural translation.

A struct that holds information on a translation.

Behaviour and default implementation for finding plural forms in given locales.

Exceptions

A generic error raised for a variety of possible Gettext-related reasons (for example, missing interpolation keys).

An error message raised for missing bindings errors.

An error raised when the syntax in a PO file (a file ending in .po) isn't correct.

Raised when a pluralized module doesn't know how to handle a locale.

Mix Tasks

Force Gettext modules to recompile once .po files change.

Extracts translations by recompiling the Elixir source code.

Merges PO/POT files with PO files.