All Versions
29
Latest Version
Avg Release Cycle
108 days
Latest Release
-

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 to handle_missing_translation(locale, domain, msgctxt, msgid, bindings) (it receives a new argument called msgctxt)

    • handle_missing_plural_translation(locale, domain, msgid, msgid_plural, n, bindings) callback signature was changed to handle_missing_plural_translation(locale, domain, msgctxt, msgid, msgid_plural, n, bindings) (it receives a new argument called msgctxt)

  • v0.19.1 Changes

    • Fix warnings on Elixir v1.14+
    • Rename ex-autogen to elixir-autogen and make sure elixir-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 introducing Gettext.dngettext/5)
    • Preserve the fuzzy message flag when merging
    • Add the --check-unextracted flag to mix 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+
  • v0.18.2 Changes

    • Allow plural forms to be set for the :gettext application
    • Use Application.compile_env/3 if available
  • 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
  • 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
  • v0.17.3 Changes

    January 13, 2020
    • Add lgettext/4 back which was removed in v0.17.2 - note lgettext/4 is private API and may be removed in future once again
  • v0.17.2 Changes

    January 10, 2020
    • ๐Ÿ‘Œ Support pgettext
    • ๐Ÿ”€ Consider extracted comments when merging templates during extraction
  • 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