aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/i18n.md
diff options
context:
space:
mode:
authorHisashi Kamezawa <hkame6926@gmail.com>2017-01-18 17:31:52 +0900
committerHisashi Kamezawa <hkame6926@gmail.com>2017-01-18 17:31:52 +0900
commitbb8e892ea07d1677cd93ac2f17aeb9c299926a7e (patch)
tree120b49c29a4acbed44eb10f6108829d7b551a1ea /guides/source/i18n.md
parentaa70abbc55463fa4f4361ac0def809d4e29d7e3b (diff)
downloadrails-bb8e892ea07d1677cd93ac2f17aeb9c299926a7e.tar.gz
rails-bb8e892ea07d1677cd93ac2f17aeb9c299926a7e.tar.bz2
rails-bb8e892ea07d1677cd93ac2f17aeb9c299926a7e.zip
update links of pluralization in i18n guide
Diffstat (limited to 'guides/source/i18n.md')
-rw-r--r--guides/source/i18n.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md
index df5869f9ca..4db6e3e195 100644
--- a/guides/source/i18n.md
+++ b/guides/source/i18n.md
@@ -672,7 +672,7 @@ end
### Pluralization
-In English there are only one singular and one plural form for a given string, e.g. "1 message" and "2 messages". Other languages ([Arabic](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#ar), [Japanese](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#ja), [Russian](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#ru) and many more) have different grammars that have additional or fewer [plural forms](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html). Thus, the I18n API provides a flexible pluralization feature.
+In English there are only one singular and one plural form for a given string, e.g. "1 message" and "2 messages". Other languages ([Arabic](http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#ar), [Japanese](http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#ja), [Russian](http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#ru) and many more) have different grammars that have additional or fewer [plural forms](http://cldr.unicode.org/index/cldr-spec/plural-rules). Thus, the I18n API provides a flexible pluralization feature.
The `:count` interpolation variable has a special role in that it both is interpolated to the translation and used to pick a pluralization from the translations according to the pluralization rules defined by CLDR: