Skip to content

CRM 0.2.2: Sidebar, column names and column dialog translated

CRM 0.2.2 gives the CRM its own translation files, in English, Russian and Estonian, so more of its admin pages show in the admin’s language.

The sidebar tabs (CRM, Overview, Organizations), the column names of the role and Organizations tables (such as Email, Full Name, Registered and Organization) and the column settings dialog can now show in the admin’s language. In Estonian, the column settings dialog itself is still in English.

The sidebar labels are translated only on a PhoenixKit release whose tabs accept a module’s own translations. On older releases they keep showing in English, and nothing breaks.

The CRM also stops relying on the host app’s translation module, so the package works without it.

Update the dependency; there is no migration and no configuration.

Full release notes: CRM 0.2.2

0.2.2 · 9 May 2026

Added

  • Per-module Gettext backend (PhoenixKitCRM.Gettext) with en/ru/et catalogues for all admin sidebar tab labels (CRM, Overview, Organizations) and UI strings in ColumnModal and CellFormat. Requires phoenix_kit release that ships the gettext_backend Tab API (BeamLabEU/phoenix_kit#522); on older releases tabs render raw English (graceful degradation).
  • All use Gettext, backend: PhoenixKitWeb.Gettext references in PhoenixKitCRM replaced with the module-owned PhoenixKitCRM.Gettext backend — the package no longer depends on the host app’s Gettext module.
  • Column header translations for the role and Organizations table views — Email, Username, Full Name, Status, Registered, Last Confirmed, Location, Organization, Contact. These labels live in ColumnConfig module attributes and are translated at runtime via Gettext.gettext/2; msgids are maintained manually in priv/gettext/default.pot (alongside the Tab labels) since mix gettext.extract only sees gettext() macro call sites. Full en/ru/et coverage.

CRM 0.2.2. Install or update: {:phoenix_kit_crm, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.