diff options
author | Daiki Ueno <ueno@gnu.org> | 2015-05-21 13:03:50 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2015-06-22 18:21:59 +0900 |
commit | 183e7920f79e4ed7f4df9c789c59504a09a7ff80 (patch) | |
tree | 07747278df8366ad39dcd15f930b3be26edacb0f /NEWS | |
parent | ec8a9e0537ce7449acb0eb100d0bb7dffbd8aa0a (diff) | |
download | external_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-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |