summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-04 11:26:27 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:54 +0200
commit0df8562f1aac3826cc72425383f3ee72bdfc012e (patch)
tree07589c5688b32144248148138dc522fe5aae1123 /NEWS
parenta77cfd06157b414a95da3c8c49a2a6d0852ead56 (diff)
downloadgettext-0df8562f1aac3826cc72425383f3ee72bdfc012e.tar.gz
Document the 'range:' flag syntax.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index faa54a6ca..c59131ba3 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,14 @@ Version 0.18 - January 2008
this field. Additionally, msgmerge fills in this new field by looking at
the 'Language-Team' field (if the --lang option is not given).
+* xgettext and PO file format:
+ For messages with plural forms, programmers can inform the translators
+ about the range of possible values of the numeric argument, like this:
+ /* xgettext: range: 0..15 */
+ This information 'range: 0..15' is stored in the PO file as a flag attached
+ to the message. Translators can produce better translations when they know
+ that the numeric argument is small.
+
* msgmerge is up to 10 times faster when the PO and POT files are large.
This speedup was contributed by Ralf Wildenhues.