Lotus.Web.Gettext (Lotus Web v0.14.7)

Copy Markdown View Source

Provides translation helpers for Lotus Web components.

This backend uses the "lotus" domain and ships with translations for the supported locales in priv/gettext/<locale>/LC_MESSAGES/lotus.po. Updates to these translations (or additional locales) should be contributed via pull requests so that every host application benefits from the same strings.

Summary

Functions

handle_missing_bindings(exception, incomplete)

Callback implementation for Gettext.Backend.handle_missing_bindings/2.

handle_missing_plural_translation(locale, domain, msgctxt, msgid, msgid_plural, n, bindings)

Callback implementation for Gettext.Backend.handle_missing_plural_translation/7.

handle_missing_translation(locale, domain, msgctxt, msgid, bindings)

Callback implementation for Gettext.Backend.handle_missing_translation/5.