summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2015-05-21 13:03:50 +0900
committerDaiki Ueno <ueno@gnu.org>2015-06-22 18:21:59 +0900
commit183e7920f79e4ed7f4df9c789c59504a09a7ff80 (patch)
tree07747278df8366ad39dcd15f930b3be26edacb0f /NEWS
parentec8a9e0537ce7449acb0eb100d0bb7dffbd8aa0a (diff)
downloadexternal_gettext-183e7920f79e4ed7f4df9c789c59504a09a7ff80.zip
external_gettext-183e7920f79e4ed7f4df9c789c59504a09a7ff80.tar.gz
external_gettext-183e7920f79e4ed7f4df9c789c59504a09a7ff80.tar.bz2
msginit: Guess plural rules from Unicode CLDR
* gettext-tools/src/Makefile.am (noinst_PROGRAMS): Add cldr-plurals. (install-exec-local): Install cldr-plurals. (BUILT_SOURCES): Add cldr-plural.c and cldr-plural.h. (cldr_plural_SOURCES): New variable. (cldr_plural_LDADD): New variable. * gettext-tools/src/cldr-plural-exp.h: New file. * gettext-tools/src/cldr-plural-exp.c: New file. * gettext-tools/src/cldr-plural.y: New file. * gettext-tools/src/cldr-plurals.c: New file. * gettext-tools/src/msginit.c (plural_forms): Call cldr-plurals program if the plural rule is not defined in the code. * gettext-tools/doc/msginit.texi: More explanations about "meta information". * gettext-tools/doc/gettext.texi (Plural forms): Mention Unicode CLDR support in msginit. * gettext-tools/tests/cldr-plurals-1: New file. * gettext-tools/tests/Makefile.am (TESTS): Add new tests. * NEWS: Mention msginit change.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3a01dba..c699eaa 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,11 @@ Version 0.19.5 - unreleased
particularly improves "\N{...}" notation handling of xgettext for
Perl and Python.
+* msginit is now capable of generating "Plural-Forms:" from Unicode
+ CLDR, if the GETTEXTCLDRDIR environment variable is set to the
+ location of the data directory. The actual conversion is done by a
+ new helper program 'cldr-plural'.
+
* Programming languages support:
- C++ with KDE: xgettext and msgfmt can now recognize KUIT (KDE User
Interface Text) markup. See the documentation section "KUIT