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βslibintl
C library directly, via theGettextRuntime_jll
package, a very lightweight dependency. It also has a number of other API improvements.