Skip to content

Newsletters 0.1.3: Translated sidebar tabs

Newsletters 0.1.3 starts translating the newsletters admin. The module now has its own translation catalogue in English, Estonian and Russian, and the first strings it covers are the admin sidebar tab labels, such as Newsletters, Broadcasts and Lists.

The translated labels need PhoenixKit core 1.7.106 or later, which lets a module’s tabs use its own translations. On an older core the tabs keep showing in English, as before. No migration and nothing to configure.

Full release notes: Newsletters 0.1.3

0.1.3 · 9 May 2026

Added

  • Per-module Gettext backend (PhoenixKit.Newsletters.Gettext) with en/ru/et catalogues for all admin sidebar tab labels. Requires phoenix_kit ≥ 1.7.106 (ships the gettext_backend Tab API); older releases render tabs as raw English (graceful degradation).
  • Drift-guard test in i18n_test.exs asserting every admin tab label has a non-identity ru translation — fails loudly when a new tab is added without updating priv/gettext/.

Changed

  • i18n test suite runs async: true (Gettext locale is per-process, no shared state).
  • Simplified test/test_helper.exs to one-line ExUnit.start() now that phoenix_kit 1.7.106 (with the gettext_backend API) is published on Hex.

Newsletters 0.1.3. Install or update: {:phoenix_kit_newsletters, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.