You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ldml/tr35-numbers.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ The available number symbols are as follows:
260
260
Example:
261
261
262
262
```xml
263
-
<symbols>
263
+
<symbolsnumberSystem="latn>
264
264
<decimal>.</decimal>
265
265
<group>,</group>
266
266
<list>;</list>
@@ -281,7 +281,7 @@ Example:
281
281
```xml
282
282
<!ATTLIST symbols numberSystem CDATA #IMPLIED >
283
283
```
284
-
The `numberSystem` attribute is used to specify that the given number symbols are to be used when the given numbering system is active. Number symbols can only be defined for numbering systems of the "numeric" type, since any special symbols required for an algorithmic numbering system should be specified by the RBNF formatting rules used for that numbering system. By default, number symbols without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits. Locales that specify a numbering system other than "latn" as the default should also specify number formatting symbols that are appropriate for use within the context of the given numbering system. For example, a locale that uses the Arabic-Indic digits as its default would likely use an Arabic comma for the grouping separator rather than the ASCII comma.
284
+
The `numberSystem` attribute is used to specify that the given number symbols are to be used when the given numbering system is active. Number symbols can only be defined for numbering systems of the "numeric" type, since any special symbols required for an algorithmic numbering system should be specified by the RBNF formatting rules used for that numbering system. By default, number symbols without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits; however, number symbols without a specific `numberSystem` attribute should not be used and will be deprecated in CLDR v48. Locales that specify a numbering system other than "latn" as the default should also specify number formatting symbols that are appropriate for use within the context of the given numbering system. For example, a locale that uses the Arabic-Indic digits as its default would likely use an Arabic comma for the grouping separator rather than the ASCII comma.
285
285
For more information on numbering systems and their definitions, see _[Section 1: Numbering Systems](#Numbering_Systems)_.
@@ -314,15 +314,15 @@ Different formats are provided for different contexts, as follows:
314
314
Example:
315
315
316
316
```xml
317
-
<decimalFormats>
317
+
<decimalFormats numberSystem="latn">
318
318
<decimalFormatLength type="long">
319
319
<decimalFormat>
320
320
<pattern>#,##0.###</pattern>
321
321
</decimalFormat>
322
322
</decimalFormatLength>
323
323
</decimalFormats>
324
324
325
-
<scientificFormats>
325
+
<scientificFormats numberSystem="latn">
326
326
<default type="long"/>
327
327
<scientificFormatLength type="long">
328
328
<scientificFormat>
@@ -336,7 +336,7 @@ Example:
336
336
</scientificFormatLength>
337
337
</scientificFormats>
338
338
339
-
<percentFormats>
339
+
<percentFormats numberSystem="latn">
340
340
<percentFormatLength type="long">
341
341
<percentFormat>
342
342
<pattern>#,##0%</pattern>
@@ -349,7 +349,7 @@ Example:
349
349
<!ATTLIST symbols numberSystem CDATA #IMPLIED >
350
350
```
351
351
352
-
The `numberSystem` attribute is used to specify that the given number formatting pattern(s) are to be used when the given numbering system is active. By default, number formatting patterns without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits. Locales that specify a numbering system other than "latn" as the default should also specify number formatting patterns that are appropriate for use within the context of the given numbering system.
352
+
The `numberSystem` attribute is used to specify that the given number formatting pattern(s) are to be used when the given numbering system is active. By default, number formatting patterns without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits; however, number formatting patterns without a specific `numberSystem` attribute should not be used and will be deprecated in CLDR v48. Locales that specify a numbering system other than "latn" as the default should also specify number formatting patterns that are appropriate for use within the context of the given numbering system.
353
353
For more information on numbering systems and their definitions, see _[Section 1: Numbering Systems](#Numbering_Systems)_.
354
354
355
355
#### <a name="Compact_Number_Formats" href="#Compact_Number_Formats">Compact Number Formats</a>
**Changes in LDML Version 47 (Differences from Version 46.1)**
4347
+
4348
+
### Number symbols and formats without numberSystem
4349
+
- Noted that [Number Symbols](tr35-numbers.md#Number_Symbols) and [Number Formats](tr35-numbers.md#Number_Formats) without a specific `numberSystem` attribute should not be used and will be deprecated in CLDR v48.
4350
+
4351
4351
**Changes in LDML Version 46.1 (Differences from Version 46)**
4352
4352
4353
4353
### Well-formed identifiers
@@ -4358,7 +4358,7 @@ Other contributors to CLDR are listed on the [CLDR Project Page](https://www.uni
4358
4358
- Change the constraints into either well-formedness constraints or validity constraints.
4359
4359
- Add validity constraints for base-component.
4360
4360
- Reformat the EBNF to avoid using HTML tables.
4361
-
- Updated the [Unit_Preferences](tr35-info.html#Unit_Preferences) to provide well-formedness and validity definitions.
4361
+
- Updated the [Unit_Preferences](tr35-info.md#Unit_Preferences) to provide well-formedness and validity definitions.
4362
4362
4363
4363
4364
4364
Note that small changes such as typos and link fixes are not listed above.
0 commit comments