@@ -97,29 +97,6 @@ with _options_ on the _expression_ taking priority over any option values of the
97
97
> would be formatted with the resolved options
98
98
> `{ notation: 'scientific', minimumFractionDigits: '1' }`.
99
99
100
- ##### Default Value of `select` Option
101
-
102
- The value `plural` is the default for the option `select`
103
- because it is the most common use case for numeric selection.
104
- It can be used for exact value matches but also allows for the grammatical needs of
105
- languages using CLDR's plural rules.
106
- This might not be noticeable in the source language (particularly English),
107
- but can cause problems in target locales that the original developer is not considering.
108
-
109
- > For example, a naive developer might use a special message for the value `1` without
110
- > considering a locale's need for a `one` plural:
111
- >
112
- > ```
113
- > .input {$var :number}
114
- > .match $var
115
- > 1 {{You have one last chance}}
116
- > one {{You have {$var} chance remaining}}
117
- > * {{You have {$var} chances remaining}}
118
- > ```
119
- >
120
- > The `one` variant is needed by languages such as Polish or Russian.
121
- > Such locales typically also require other keywords such as `two`, `few`, and `many`.
122
-
123
100
##### Percent Style
124
101
125
102
When implementing `style=percent`, the numeric value of the _operand_
@@ -171,7 +148,7 @@ The following options and their values are required in the default registry to b
171
148
function `:integer`:
172
149
173
150
- `select`
174
- - `plural` (default)
151
+ - `plural` (default; see [Default Value of `select` Option](#default-value-of-select-option) below )
175
152
- `ordinal`
176
153
- `exact`
177
154
- `numberingSystem`
@@ -209,29 +186,6 @@ Option values with the following names are however discarded if included in the
209
186
- `maximumFractionDigits`
210
187
- `minimumSignificantDigits`
211
188
212
- ##### Default Value of `select` Option
213
-
214
- The value `plural` is the default for the option `select`
215
- because it is the most common use case for numeric selection.
216
- It can be used for exact value matches but also allows for the grammatical needs of
217
- languages using CLDR's plural rules.
218
- This might not be noticeable in the source language (particularly English),
219
- but can cause problems in target locales that the original developer is not considering.
220
-
221
- > For example, a naive developer might use a special message for the value `1` without
222
- > considering a locale's need for a `one` plural:
223
- >
224
- > ```
225
- > .input {$var :integer}
226
- > .match $var
227
- > 1 {{You have one last chance}}
228
- > one {{You have {$var} chance remaining}}
229
- > * {{You have {$var} chances remaining}}
230
- > ```
231
- >
232
- > The `one` variant is needed by languages such as Polish or Russian.
233
- > Such locales typically also require other keywords such as `two`, `few`, and `many`.
234
-
235
189
##### Percent Style
236
190
237
191
When implementing `style=percent`, the numeric value of the _operand_
@@ -441,7 +395,7 @@ Some implementations might not be able to produce all of these formats for every
441
395
The following options and their values are required to be available on the function `:currency`:
442
396
443
397
- `select`
444
- - `plural` (default)
398
+ - `plural` (default; see [Default Value of `select` Option](#default-value-of-select-option) below )
445
399
- `exact`
446
400
- `currency`
447
401
- well-formed [Unicode Currency Identifier](https://cldr-smoke.unicode.org/spec/main/ldml/tr35.html#UnicodeCurrencyIdentifier)
@@ -581,7 +535,7 @@ the value of other _options_, or all of these.
581
535
The following options and their values are required to be available on the function `:unit`:
582
536
583
537
- `select`
584
- - `plural` (default)
538
+ - `plural` (default; see [Default Value of `select` Option](#default-value-of-select-option) below )
585
539
- `exact`
586
540
- `unit`
587
541
- valid [Unit Identifier](https://www.unicode.org/reports/tr35/tr35-general.html#unit-identifiers)
@@ -790,6 +744,29 @@ numeric selectors perform as described below.
790
744
> Implementations are not required to implement this exactly as written.
791
745
> However, the observed behavior must be consistent with what is described here.
792
746
747
+ #### Default Value of ` select ` Option
748
+
749
+ The value ` plural ` is the default for the option ` select `
750
+ because it is the most common use case for numeric selection.
751
+ It can be used for exact value matches but also allows for the grammatical needs of
752
+ languages using CLDR's plural rules.
753
+ This might not be noticeable in the source language (particularly English),
754
+ but can cause problems in target locales that the original developer is not considering.
755
+
756
+ > For example, a naive developer might use a special message for the value ` 1 ` without
757
+ > considering a locale's need for a ` one ` plural:
758
+ >
759
+ > ```
760
+ > .input {$var :number}
761
+ > .match $var
762
+ > 1 {{You have one last chance}}
763
+ > one {{You have {$var} chance remaining}}
764
+ > * {{You have {$var} chances remaining}}
765
+ > ```
766
+ >
767
+ > The `one` variant is needed by languages such as Polish or Russian.
768
+ > Such locales typically also require other keywords such as `two`, `few`, and `many`.
769
+
793
770
#### Rule Selection
794
771
795
772
Rule selection is intended to support the grammatical matching needs of different
0 commit comments