Changelog
View Sourcev0.2.1 (2026-06-01)
Fixed
mix gettext.pseudolocalize(without arguments) no longer crashes withGettext.Plural.UnknownLocaleErrorongettext ~> 1.0. The task now temporarily registersGettextPseudolocalize.Pluralwhile runninggettext.mergeso the unknownxxlocale resolves tonplurals=2, and restores the previous:gettext, :plural_formsconfiguration afterwards.GettextPseudolocalize.Pluralis now a completeGettext.Pluralimplementation, making it safe to register as the globalconfig :gettext, :plural_formspluralizer (somix gettext.mergeandmix compileresolvexxinstead of raisingUnknownLocaleError). It now implements the optionalinit/1andplural_forms_header/1callbacks and accepts both the bare-string and{locale, plural_forms}context shapes that Gettext passes forxx.
Documentation
- README now explains how to configure
GettextPseudolocalize.Pluralas the permanent pluralizer when the host app's Gettext backend compiles againstpriv/gettext/xx/.
v0.2.0 (2026-05-11)
Changed
- Bumped
gettextdependency to~> 1.0(previously~> 0.26).
v0.1.1
- Handle invalid interpolations.
- Optimizations and more tests.
v0.1.0
- Initial release.