Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 68d9c94

Browse files
committed
more fixes
1 parent 79c3c1b commit 68d9c94

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

public/docs/ts/latest/cookbook/i18n.jade

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,15 @@ a#plural
138138

139139
CLDR uses some tags to define plural categories, here is a few of them:
140140

141-
* zero / =0
142-
* one / =1
141+
* zero
142+
* =1
143143
* five / =5
144-
* nine / =9
144+
* =9
145145
* few
146146
* other
147147

148-
You can use either a word like `zero` or `=0`.
148+
A category like `=1` matches the number `1` but a category like `one` could match `1` as well as `21` in Belarusian.
149+
Keep in mind that categories like `=1` will take precedence over one like `one`.
149150

150151
Along the category, you add the default _English_ translation, so for 2 wolves you can say `two {two wolves}` or `=2 {two wolves}`.
151152
If you use `other`, any non matched number will use the `other` translation.

0 commit comments

Comments
 (0)