PhoenixKitCRM.Gettext (PhoenixKitCRM v0.2.2)

Copy Markdown View Source

Gettext backend for phoenix_kit_crm.

Owns the translation catalogues under priv/gettext/. Locale is set per-request by the parent application; this module is only responsible for looking msgids up against the active locale.

See guides/per-module-i18n.md in the phoenix_kit core guides for the full setup and conventions.

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.