Publishing 0.3.0: The admin and editor are translated at last
Publishing 0.3.0 makes the module’s own screens follow the admin language. Until now the whole Publishing admin and editor showed in English, whatever language the admin used.
Why everything was English
The module’s texts were looked up in core’s translation catalogue, but they were never extracted into it, since extraction only reads a project’s own code. So none of the module’s strings had a translation in any language.
Own translations
Publishing now has its own catalogue, shipped with the package. All 456 texts are translated into English, Russian, Italian, French and Estonian, with the right plural forms for each language, such as Russian’s three. The Publishing entries in the admin sidebar and settings menu are translated too. When a public post page sets its language, it now sets it for the module’s texts as well as core’s, so the strings on post pages are translated too.
OG plugin rename
The optional phoenix_kit_og plugin renamed its main module from PhoenixKitOg to PhoenixKitOG. Publishing now calls it under the new name, so the plugin keeps refining post OpenGraph tags after you update both.
Upgrading
Update the dependency. The module now depends on gettext 1.0 or later, and the package includes its priv/gettext folder. There is no migration and nothing to configure. After the upgrade, admins who use another language than English see Publishing in that language.
Full release notes: Publishing 0.3.0
0.3.0 · 4 July 2026
Publishing’s admin/editor UI strings now translate — previously every
gettext() call here routed through core’s PhoenixKitWeb.Gettext, but
mix gettext.extract only walks a project’s own lib/, so none of this
module’s ~390 strings were ever extracted into any catalog, in any locale.
The whole admin UI silently rendered in English regardless of locale. Also
picks up the phoenix_kit_og PhoenixKitOg → PhoenixKitOG rename.
Added
- Own
PhoenixKitPublishing.Gettextbackend (priv/gettext/), following the per-module i18n patternphoenix_kit_ecommercealready uses. All 456 msgids extracted and translated into English, Russian, Italian, French, and Estonian, plurals included with correct per-locale plural-category counts (Russian’s 3 forms vs. everyone else’s 2). Sidebar tab labels (admin_tabs/0,settings_tabs/0) now carrygettext_backend:; the public-content locale setter syncs both this module’s backend and core’s, so post pages translate too, not just the admin panel.
Fixed
- Updated the guarded
phoenix_kit_ogintegration seam (controller.ex/editor.ex/.dialyzer_ignore.exs) for the sibling plugin’sPhoenixKitOg→PhoenixKitOGmodule rename.
Publishing 0.3.0. Install or update: {:phoenix_kit_publishing, "~> 0.3"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.