---
title: "gettext 0.24.0 Breaking Changes on Hex | Since.dev"
description: "What each gettext release removed, renamed or changed: 26 breaking changes in 13 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/gettext
last_updated: 2026-12-04
---

# gettext breaking changes

gettext 0.24.0 (December 4, 2023) is its newest release with breaking changes. The first: Singular and plural messages with the same msgid are now treated as one message in gettext 0.24.0. Every breaking API change we have recorded in gettext on Hex: 26 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.1.0`, released December 3, 2026. Apache-2.0 license. [Source repository](https://github.com/elixir-gettext/gettext)

Its 0.21.0 release requires [Elixir 1.11](https://since.dev/calendar/elixir/1.11.md) or later. [Elixir end of life dates](https://since.dev/calendar/elixir.md).

- From [0.7.0](#v-0-7-0) to [0.24.0](#v-0-24-0): 23 breaking changes in 12 versions.

## gettext 0.24.0 breaking changes

gettext 0.24.0, released December 4, 2023: 1 breaking change.

- **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](https://github.com/elixir-gettext/gettext/blob/v0.24.0/CHANGELOG.md)

## gettext 0.22.0 breaking changes

gettext 0.22.0, released January 21, 2023: 1 breaking change.

- **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](https://github.com/elixir-gettext/gettext/blob/v0.22.0/CHANGELOG.md)

## gettext 0.21.0 breaking changes

gettext 0.21.0, released January 6, 2023: 1 breaking change.

- **Removed**  

Elixir versions older than 1.11 are no longer supported, so projects on older Elixir must upgrade before using this release. [github.com](https://github.com/elixir-gettext/gettext/blob/v0.21.0/CHANGELOG.md)

## gettext 0.20.0 breaking changes

gettext 0.20.0, released July 20, 2022: 2 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](https://github.com/elixir-gettext/gettext/blob/v0.20.0/CHANGELOG.md)
- **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](https://github.com/elixir-gettext/gettext/blob/v0.20.0/CHANGELOG.md)

## gettext 0.19.0 breaking changes

gettext 0.19.0, released December 20, 2021: 4 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](https://github.com/elixir-gettext/gettext/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/elixir-gettext/gettext/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed** `mix gettext.extract`  

Extracted PO files put each translation reference on its own line, which changes generated file contents. [github.com](https://github.com/elixir-gettext/gettext/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/elixir-gettext/gettext/blob/v0.19.0/CHANGELOG.md)

## gettext 0.17.0 breaking changes

gettext 0.17.0, released June 24, 2019: 1 breaking change.

- **Configuration changed**  

The package now requires Elixir 1.6 or later; older Elixir versions are no longer supported. [github.com](https://github.com/elixir-gettext/gettext/blob/v0.17.0/CHANGELOG.md)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### gettext 0.14.0 breaking changes

gettext 0.14.0, released December 10, 2017: 3 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](https://github.com/elixir-gettext/gettext/blob/v0.14.0/CHANGELOG.md)
- **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](https://github.com/elixir-gettext/gettext/blob/v0.14.0/CHANGELOG.md)

And 1 more in this version.

### gettext 0.12.0 breaking changes

gettext 0.12.0, released October 22, 2016: 5 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](https://github.com/elixir-gettext/gettext/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed**  

Code that passes a non-binary domain now fails at compile time. Pass the domain as a string. [github.com](https://github.com/elixir-gettext/gettext/blob/v0.12.0/CHANGELOG.md)

And 3 more in this version.

### gettext 0.11.0 breaking changes

gettext 0.11.0, released April 7, 2016: 1 breaking change.

- **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](https://github.com/elixir-gettext/gettext/blob/v0.11.0/CHANGELOG.md)

### gettext 0.10.0 breaking changes

gettext 0.10.0, released February 21, 2016: 2 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](https://github.com/elixir-gettext/gettext/blob/v0.10.0/CHANGELOG.md)
- **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](https://github.com/elixir-gettext/gettext/blob/v0.10.0/CHANGELOG.md)

### gettext 0.9.0 breaking changes

gettext 0.9.0, released December 14, 2015: 1 breaking change.

- **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](https://github.com/elixir-gettext/gettext/blob/v0.9.0/CHANGELOG.md)

### gettext 0.8.0 breaking changes

gettext 0.8.0, released November 25, 2015: 1 breaking change.

- **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](https://github.com/elixir-gettext/gettext/blob/v0.8.0/CHANGELOG.md)

### gettext 0.7.0 breaking changes

gettext 0.7.0, released October 21, 2015: 3 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](https://github.com/elixir-gettext/gettext/blob/v0.7.0/CHANGELOG.md)
- **Removed** `Gettext.locale`  

Gettext.locale/0-1 is gone. Use Gettext.get_locale/2 to read the locale for a backend instead. [github.com](https://github.com/elixir-gettext/gettext/blob/v0.7.0/CHANGELOG.md)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
