Skip to content

Projects 0.33.1: Translated projects and tasks no longer lose their text

Projects 0.33.1 fixes multilingual project management in PhoenixKit: a save no longer throws away what was typed in other languages, and translations stored under a regional code such as es-ES now appear on the pages people read.

Saving keeps every language

Projects, tasks, templates, assignments and sub-projects can be written in several languages, one tab per language. Saving from the main language tab used to lose whatever had been typed on the other tabs. Those values now survive the save. Emptying a translated field removes that translation, including the last one of a language, and clearing a field in the main language is no longer undone by a later save from a language tab.

The Projects form with language tabs; the Deutsch tab shows the project's German name and description stored under de-DE The Projects form with language tabs; the Deutsch tab shows the project's German name and description stored under de-DE

A project's German translation, stored under the regional code de-DE, in its own tab.

Regional translations show up

A translation stored under a dialect code, such as es-ES or fr-FR, never reached the read pages, because the lookup used the base language (es) instead of the reader’s regional one. Pages now find the exact dialect first, then the base language, then another dialect of the same language. The same lookup is used for status labels and for team and department names, and a project page embedded in your own app keeps its language when it is given a regional code.

Upgrading

No migration. Update the dependency; translations that were already saved under a regional code start showing immediately.

Full release notes: Projects 0.33.1

0.33.1 · 6 November 2026

No migration.

Fixed

  • A save from the primary language tab lost what was typed on the other tabs. Those tabs’ values now survive it, on the project, task, template, assignment and sub-project forms.
  • Translations under a dialect code never reached the read pages. A translation stored as es-ES or fr-FR now shows: reads use the request’s dialect instead of the Gettext locale, which is downgraded to a base code. L10n.language_entry/2 is the one lookup (exact, then base, then a same-base dialect, the last never for a primary-language viewer), and it also serves status labels and team and department names.
  • A blanked translated field removes its override, including the last one of a language. That holds for a one-off task’s description on the assignment form too.
  • Clearing a primary field is no longer undone by a save from a language tab.
  • An embedded page keeps its language when handed a dialect: Web.Helpers.maybe_put_locale/1 gives the Gettext backends the catalogue’s code (es) and keeps the full code for content reads. An empty "locale" is a no-op.
  • The docs build with no warnings.

Projects 0.33.1. Install or update: {:phoenix_kit_projects, "~> 0.33"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.