summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2015-02-09 12:17:22 +0900
committerDaiki Ueno <ueno@gnu.org>2015-02-10 11:56:09 +0900
commit8c87543cf2036f4328d4b9184d19429cee9974b5 (patch)
treed0f4952813b5126e7849cf8d0ae875d6a5bee599 /gettext-tools
parent05392cbe402b5eab867799c621807ec938ce9498 (diff)
downloadexternal_gettext-8c87543cf2036f4328d4b9184d19429cee9974b5.zip
external_gettext-8c87543cf2036f4328d4b9184d19429cee9974b5.tar.gz
external_gettext-8c87543cf2036f4328d4b9184d19429cee9974b5.tar.bz2
doc: Document plural forms for arb, tha, and ind
* gettext.texi (Plural forms): Add Arabic, Bahasa Indonesian, and Thai. Reported by Maryam Aly in: <https://lists.gnu.org/archive/html/bug-gettext/2015-02/msg00012.html>.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/doc/ChangeLog7
-rw-r--r--gettext-tools/doc/gettext.texi21
2 files changed, 28 insertions, 0 deletions
diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog
index edac431..7226dde 100644
--- a/gettext-tools/doc/ChangeLog
+++ b/gettext-tools/doc/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-09 Daiki Ueno <ueno@gnu.org>
+
+ * gettext.texi (Plural forms): Add Arabic, Bahasa Indonesian, and
+ Thai.
+ Reported by Maryam Aly in:
+ <https://lists.gnu.org/archive/html/bug-gettext/2015-02/msg00012.html>.
+
2015-02-03 Daiki Ueno <ueno@gnu.org>
* msgexec.texi, msgfilter.texi: Fix markup error caused by commit
diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi
index c0dc529..366a646 100644
--- a/gettext-tools/doc/gettext.texi
+++ b/gettext-tools/doc/gettext.texi
@@ -6242,6 +6242,8 @@ Languages with this property include:
Japanese, @c 122.1 million speakers
Vietnamese, @c 68.6 million speakers
Korean @c 66.3 million speakers
+@item Tai-Kadai family
+Thai @c 20.4 million speakers
@end table
@item Two forms, singular used for one only
@@ -6279,6 +6281,8 @@ Finnish, @c 5.0 million speakers
Estonian @c 1.0 million speakers
@item Semitic family
Hebrew @c 5.3 million speakers
+@item Austronesian family
+Bahasa Indonesian @c 23.2 million speakers
@item Artificial
Esperanto @c 2 million speakers
@end table
@@ -6454,6 +6458,23 @@ Languages with this property include:
@item Slavic family
Slovenian @c 1.9 million speakers
@end table
+
+@item Six forms, special cases for one, two, all numbers ending in 02, 03, @dots{} 10, all numbers ending in 11 @dots{} 99, and others
+The header entry would look like this:
+
+@smallexample
+Plural-Forms: nplurals=6; \
+ plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 \
+ : n%100>=11 ? 4 : 5;
+@end smallexample
+
+@noindent
+Languages with this property include:
+
+@table @asis
+@item Afroasiatic family
+Arabic @c 246.0 million speakers
+@end table
@end table
You might now ask, @code{ngettext} handles only numbers @var{n} of type