PhoenixKit 2.13.8: Sign-in messages can be translated
PhoenixKit 2.13.8 makes the messages around signing in translatable, so a visitor using another language is no longer greeted in English after logging in.
The short messages shown after signing in, signing out, registering, confirming an account, resetting a password, social sign-in and magic links were fixed English text. They now go through the translation files. The error shown inline on the magic-link pages is translated too. Estonian translations are included; the other languages show English for these messages until they are translated.
Full release notes: PhoenixKit 2.13.8
2.13.8 · 24 August 2026
Authentication and session flash messages now go through gettext, so a non-English visitor is no longer greeted in English after signing in (#747).
Changed
- Auth, session, OAuth, magic-link, registration, confirmation, and
password-reset flashes resolve through gettext. Named
%{}bindings replace#{}interpolation so the strings extract.Users.Authnowuses Gettext itself (:verified_routesdoes not pull the macros in). One pre-existingGettext.dgettext/3runtime call is a macro, so extract can see it. Estonian translations are filled in; other locales stay on the English msgid until they are translated (#747).
Fixed
- Inline magic-link errors were still English on an otherwise-translated
page. The flash half of
error_state/3was wrapped; the alert rendered next to it was not.MagicLink’s:errorassign (never a flash) was the same gap. Both now go through gettext (#747). - The two Ueberauth-missing OAuth flashes survived only in
et.po.mix gettext.extract --mergetreated them as orphans and deleted them. They now live indefault.potas well, which is the path the catalog header names for a string that cannot be compiled-extracted (#747).
i18n
- Estonian translations for the auth/session flashes this release introduces, including the five leftover inline errors. Fuzzy matches from extract (e.g. “Please enter a valid email address” ← “Please enter a name”) were replaced, not kept (#747).
PhoenixKit 2.13.8. Install or update: {:phoenix_kit, "~> 2.13"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.