[ANN] Gettext.jl 1.0 (new and improved) — translating Julia software

stevengj
Wed, 09 Jul 2025 04:55:53 +0000
Package Announcements

Gettext.jl offers facilities for internationalization and localization (i18n and l10n) of software in the Julia programming language, using the standard gettext system.

Essentially, Gettext allows the programmer to mark user-visible messages (strings) for translation, typically by simply replacing "..." strings with _"...". Then, translators can localize a Julia program or package by providing a list of translations in the standard .po format (a human-readable/editable file, supported by many software tools). See the new manual.

Gettext.jl is actually quite an old Julia package, created in 2014 for Julia 0.3 by @garrison, but it languished because it relied on the Python gettext module via PyCall.jl, a cumbersome dependency. The new version now calls GNU gettext’s libintl C library directly, via the GettextRuntime_jll package, a very lightweight dependency. It also has a number of other API improvements.

See also: Feedback requested: updated Gettext.jl for i18n

2 posts - 2 participants