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/site/downloads/cldr-48.md
+38-4Lines changed: 38 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ adapting software to the conventions of different languages.
19
19
20
20
CLDR 48 was an open submission cycle allowing contributors to supply data for their languages via the CLDR Survey Tool —
21
21
data that is widely used to support much of the world’s software.
22
-
This data is also a factor in determining which languages are supported on mobile phones and computer operating systems.
22
+
This data is also a factor in determining which languages are supported on mobile phones and computer operating systems.
23
23
24
24
### Changes
25
25
@@ -225,7 +225,38 @@ For a full listing, see [Transforms Delta].
225
225
226
226
### JSON Data Changes
227
227
228
-
- TBD
228
+
- RBNF
229
+
- Just as with the RBNF data format change in XML [CLDR-8909], the JSON data also has a change in structure. [CLDR-18956].
230
+
- Below is an example of the changed data format.
231
+
- The new data item is the `_rbnfRulesFile` key. Its value is the name of a data file in the same directory, containing the raw rules. (Note: Do not interpret the .txt file’s name in any way.)
232
+
- The previous data format is included for this release, but will be removed in a future release. In this case, the `%digits-ordinal` (and any other such keys) will be removed.
233
+
234
+
235
+
```js
236
+
{
237
+
"rbnf": {
238
+
"OrdinalRules": {
239
+
"%digits-ordinal": [
240
+
[
241
+
"-x",
242
+
"−→→;"
243
+
],
244
+
[
245
+
"0",
246
+
"=#,##0=;"
247
+
]
248
+
],
249
+
"_rbnfRulesFile":"ar-OrdinalRules.txt"
250
+
},
251
+
}
252
+
}
253
+
```
254
+
255
+
The `ar-OrdinalRules.txt` file contains all rules for this locale:
256
+
257
+
%digits-ordinal:
258
+
-x: −>>;
259
+
0: =#,##0=;
229
260
230
261
### File Changes
231
262
The following files are new in the release:
@@ -258,7 +289,7 @@ The following files are new in the release:
258
289
### V49 advance warnings
259
290
The following changes are planned for CLDR 49. Please plan accordingly to avoid disruption.
260
291
- The default week numbering changes to ISO instead being based on the calendar week starting in CLDR 48 [CLDR-18275]. The calendar week will be more clearly targeted at matching usage in displayed month calendars.
261
-
- The pre-Meiji Japanese eras will be removed: There was too much uncertainty in the exact values
292
+
- The pre-Meiji Japanese eras will be removed: There was too much uncertainty in the exact values
262
293
and feedback that the general practice for exact dates is to use Gregorian for pre-Meiji dates.
263
294
- The major components in [supplementalData.xml](https://github.com/unicode-org/cldr/blob/main/common/supplemental/supplementalData.xml) and [supplementalMetadata.xml](https://github.com/unicode-org/cldr/blob/main/common/supplemental/supplementalMetadata.xml) files are slated to be organized more logically and moved into separate files.
264
295
- This will make it easier for implementations to filter out data that they don't need, and make internal maintenance easier. This will not affect the data: just which file it is located in. Please plan to update XML and JSON parsers accordingly.
@@ -281,6 +312,8 @@ in particular, see [Exhibit 1](https://unicode.org/copyright.html#Exhibit1).
281
312
For web pages with different views of CLDR data, see [http://cldr.unicode.org/index/charts](/index/charts).
0 commit comments