[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU gettext 0.21 released

From: Bruno Haible
Subject: GNU gettext 0.21 released
Date: Mon, 27 Jul 2020 18:34:54 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; )

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

* 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.


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[*]:

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 for gettext:

Documentation for libtextstyle:


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]