All Versions
29
Latest Version
Avg Release Cycle
108 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v0.20.0 Changes
- Allow
gettext_comment
to be invoked multiple times - Dump flags after references in PO files
- Deprecate
compile.gettext
in favor of__mix_recompile__?
Backwards incompatible changes
handle_missing_translation(locale, domain, msgid, bindings)
callback signature was changed tohandle_missing_translation(locale, domain, msgctxt, msgid, bindings)
(it receives a new argument calledmsgctxt
)handle_missing_plural_translation(locale, domain, msgid, msgid_plural, n, bindings)
callback signature was changed tohandle_missing_plural_translation(locale, domain, msgctxt, msgid, msgid_plural, n, bindings)
(it receives a new argument calledmsgctxt
)
- Allow
-
v0.19.1 Changes
- Fix warnings on Elixir v1.14+
- Rename
ex-autogen
toelixir-autogen
and make sureelixir-autogen
is added to existing messages
-
v0.19.0 Changes
- Remove the
:one_module_per_locale
option in favor of:split_module_by
and:split_module_compilation
- Make
Gettext.dngettext/6
bindings argument optional (effectively introducingGettext.dngettext/5
) - Preserve the
fuzzy
message flag when merging - Add the
--check-unextracted
flag tomix gettext.extract
, which is useful in CI and similar - Place each message reference on its own line in extracted PO files
- Make the interpolation module customizable via the
:interpolation
configuration option - Use a different flag to detect autogenerated messages (
ex-autogen
) - Update
gettext.extract
to correctly extract on recompilation for Elixir 1.13+
- Remove the
-
v0.18.2 Changes
- Allow plural forms to be set for the
:gettext
application - Use
Application.compile_env/3
if available
- Allow plural forms to be set for the
-
v0.18.1 Changes
- Allow default domain to be configurable
- Improve parallelism when compiling modules
-
v0.18.0 Changes
- Allow sorting strings by
msgid
- Add
:allowed_locales
to restrict the locales bundled in the backend
- Allow sorting strings by
-
v0.17.4 Changes
January 14, 2020- Do not change the return types of
*_noop
macros (regression in v0.17.2 and v0.17.3) - Fix dialyzer warnings
- Do not change the return types of
-
v0.17.3 Changes
January 13, 2020- Add
lgettext/4
back which was removed in v0.17.2 - notelgettext/4
is private API and may be removed in future once again
- Add
-
v0.17.2 Changes
January 10, 2020- 👌 Support
pgettext
- 🔀 Consider extracted comments when merging templates during extraction
- 👌 Support
-
v0.17.1 Changes
October 27, 2019- 🌐 Store the
msgctxt
value in translation and dump it when dumping translations - 🛠 Fix a bug when dumping references
- 👌 Improve code generation
- 🌐 Preserve whitespace in translation flags
- 🌐 Store the