gettext breaking changes
Updated December 4, 2026
On this page
Latest version 1.1.0, released December 3, 2026. Apache-2.0 license. Source repository
Its 0.21.0 release requires Elixir 1.11 or later. Elixir end of life dates.
gettext 0.24.0 breaking changes
- Behavior changed
Singular and plural messages sharing a msgid are now handled as the same message. If your .po files already have messages with the same singular msgid, Expo.PO.DuplicateMessagesError is raised; run mix expo.msguniq on the .po file to fix... github.com
gettext 0.22.0 breaking changes
- Behavior changed
Gettext.Plural
Gettext.Plural callbacks are now supplied the Plural-Forms header, so custom plural modules may need to handle it. github.com
gettext 0.21.0 breaking changes
- Removed
Elixir versions older than 1.11 are no longer supported, so projects on older Elixir must upgrade before using this release. github.com
gettext 0.20.0 breaking changes
- Signature changed
handle_missing_plural_translation
The handle_missing_plural_translation callback now receives msgctxt as a new third argument. Update custom implementations to accept the new signature. github.com - Signature changed
handle_missing_translation
The handle_missing_translation callback now receives msgctxt as a new third argument. Update custom implementations to accept the new signature. github.com
gettext 0.19.0 breaking changes
- Removed
:one_module_per_locale
The :one_module_per_locale option is removed; use :split_module_by and :split_module_compilation instead. github.com - Behavior changed
Autogenerated translations are now flagged with ex-autogen instead of the previous flag, so tooling relying on the old flag must change. github.com - Behavior changed
mix gettext.extract
Extracted PO files put each translation reference on its own line, which changes generated file contents. github.com - Signature changed
Gettext.dngettext.6
The bindings argument of Gettext.dngettext/6 is now optional, so calls can use the new Gettext.dngettext/5 arity. github.com
gettext 0.17.0 breaking changes
- Configuration changed
The package now requires Elixir 1.6 or later; older Elixir versions are no longer supported. github.com
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
gettext 0.14.0 breaking changes
- Behavior changed
The package now requires Elixir v1.3 as its minimum version. Projects on older Elixir versions must upgrade before using this release. github.com - Behavior changed
Gettext now warns when compiling and raises at runtime for missing plural forms. Check your translation files for missing plural forms, since code that relied on them silently working may now raise. github.com
And 1 more in this version.
gettext 0.12.0 breaking changes
- Removed
The package no longer supports Elixir 1.1 and now requires Elixir ~> 1.2. Upgrade Elixir before using this version. github.com - Behavior changed
Code that passes a non-binary domain now fails at compile time. Pass the domain as a string. github.com
And 3 more in this version.
gettext 0.11.0 breaking changes
- Behavior changed
Gettext.Plural
Locales of the form x_Y are now pluralized as x, but any other unknown locale raises Gettext.Plural.UnknownLocaleError. Code relying on unknown locales being accepted must handle this error. github.com
gettext 0.10.0 breaking changes
- Behavior changed
The *gettext macros now emit a compile-time warning when the domain has slashes, since domains in subdirectories are not supported. Code using such domains will see new warnings. github.com - Behavior changed
Comments not followed by a translation entry are now discarded when parsing and dumping PO(T) files, so files written by this version may no longer contain them. github.com
gettext 0.9.0 breaking changes
- Behavior changed
Comments starting with ## in POT files are no longer carried into PO files during merge. Code or tooling that relies on those comments in PO files will need to change. github.com
gettext 0.8.0 breaking changes
- Behavior changed
When a msgstr (or any plural msgstr) is empty, gettext now returns the msgid as the translation instead of an empty string. Code relying on empty translations must be updated. github.com
gettext 0.7.0 breaking changes
- Removed
:default_locale
The :default_locale config option under the :gettext application is gone. Set default_locale on each backend's own :otp_app config instead. github.com - Removed
Gettext.locale
Gettext.locale/0-1 is gone. Use Gettext.get_locale/2 to read the locale for a backend instead. github.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.