Skip to content

v1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Jul 04:39
· 3 commits to master since this release

Gettext v1.0.0

Diff since v0.2.0

First 1.0 release, after long dormancy.

  • Removed Python dependency, replaced by direct calls to the C libintl library via GettextRuntime_jll
  • macros (_"...", @gettext, etc.) now use __GETTEXT_DOMAIN__ domain inside modules, to avoid inter-package conflicts
  • unescaping in _"..." strings
  • add pgettext, merge gettext and dgettext, and remove Formatting.jl dependency
  • accept "%d"=>n in ngettext
  • Unicode pathname support on Windows
  • encoding of translated strings in Julia is corrected to UTF-8
  • new docstrings and manual

(Several breaking API changes, but because no packages seems to have used the old Gettext.jl for some time, it should be irrelevant.)

Merged pull requests:

Closed issues:

  • Remove Python dependency (#1)
  • Support YAML i18n (#2)
  • pgettext (#6)
  • _"foo" macro evaluation time (#7)
  • string interpolation (#8)
  • update CI to use github actions (#9)
  • eliminate Formatting.jl dep (#11)
  • make dgettext(domain, msgid) a method of gettext (#13)
  • docstrings (#18)
  • composability of translations from different packages (#20)
  • ngettext(singular, plural, "%d" => n) (#23)
  • fix manual hosting (#27)