Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GNU gettext 0.21 released

2 views
Skip to first unread message

Bruno Haible

unread,
Jul 26, 2020, 11:43:13 PM7/26/20
to info...@gnu.org
Here is a new release of GNU gettext.

GNU gettext allows programs to produce messages in the user's native
language. It consists of
- runtime libraries for C, C++, Java, C#, Shell programs.
- tools for programmers and translators.


New in version 0.21:
====================

* Programming languages support:
- Shell:
o xgettext now recognizes and ignores 'env' invocations and environment
variable assignments in front of commands.
- Java:
o xgettext now recognizes format strings in the Formatter syntax. They
are marked as 'java-printf-format' in POT and PO files.
o xgettext now recognizes text blocks as string literals.
- JavaScript:
xgettext parses JSX expressions more reliably.
- Ruby:
o xgettext now supports Ruby.
o 'msgfmt -c' now verifies the syntax of translations of Ruby format
strings.

* Runtime behaviour:
- On native Windows platforms, the directory that contains the message
catalogs may now contain arbitrary Unicode characters. To make use of
this feature, use the new function 'wbindtextdomain' instead of
'bindtextdomain'. It allows to pass a directory name in wchar_t[] encoding.
Note: 'wbindtextdomain' exists only on native Windows platforms.

* Improvements for translators:
- When msgfmt writes a MO file, it now does so in such a way that processes
that are currently using an older copy of the MO file will not crash.

* Libtextstyle:
- Added support for emitting hyperlinks.
- New API for doing formatted output.
- The example programs support the NO_COLOR environment variable.


Download:
=========

Here are the compressed sources:
https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.gz (24MB)
https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.xz (9.3MB)

Here are the GPG detached signatures[*]:
https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.gz.sig
https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.xz.sig

Here are the SHA1 checksums:

e6c0a0cba5b00a604c9118403a8199c77a538526 gettext-0.21.tar.gz
9d75b47baed1a612c0120991c4b6d9cf95e0d430 gettext-0.21.tar.xz

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:

gpg --verify gettext-0.21.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

gpg --keyserver keys.gnupg.net --recv-keys F5BE8B267C6A406D

and rerun the 'gpg --verify' command.


Documentation:
==============

Documentation for gettext:
https://www.gnu.org/software/gettext/manual/

Documentation for libtextstyle:
https://www.gnu.org/software/gettext/libtextstyle/manual/


Feedback:
=========

Report bugs to <bug-g...@gnu.org> or in the bug tracker at
https://savannah.gnu.org/projects/gettext/ .


0 new messages