From e0ca31f1a7ecc08ab9852621309fcb21a8eb6bf6 Mon Sep 17 00:00:00 2001 From: Mark Davis Date: Fri, 13 Sep 2024 13:53:54 -0700 Subject: [PATCH] CLDR-17893 Fix typos, wording --- docs/ldml/tr35-info.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/ldml/tr35-info.md b/docs/ldml/tr35-info.md index aab66f00fdb..7bfa6360385 100644 --- a/docs/ldml/tr35-info.md +++ b/docs/ldml/tr35-info.md @@ -1235,17 +1235,19 @@ If any key-values are invalid, then they are ignored. Thus the following constru | --- | --- | | -mu-smoot | invalid unit | | -ms-stanford | invalid unit system | -| -rg-aazzzz | invalid region 'AA' ‡| -| -AA | invalid region 'AA'| +| -rg-abzzzz | invalid region 'AB' ‡| +| -AB | invalid region 'AB'| -‡ Only the region portion is currently used, so in -rg-usabcdef the "abcdef" is ignored, whether or not it is valid. +‡ Only the region portion is currently used. +The -rg-abzzzz is ignored because AB is invalid; +if it were -rg-ustuvxy, it would not be ignored because US is valid. The table below shows when the region portion is valid or not. -| Subdivision | Region | Used in -rg? | Comment | +| Subdivision Code | Region | -rg used? | Comment | | --- | --- | --- | --- | -| usca | US | Yes | Both the subdivision code (US Texas) and its region portion (US) are valid | -| usabc | US | Yes | The subdivision code is invalid, but its region portion (US) is valid | -| abcdef | AB | No | Both the subdivision code and its region portion (~AB~) are invalid | +| usut | US | Yes | Both the region portion (US) are valid and the subdivision portion (Utah) are value. | +| usabc | US | Yes | The region portion (US) is valid, but the subdivision portion is not. | +| ab... | AB | No, ignored | The region portion (AB) is invalid, and thus the subdivision portion must also be. | The following algorithm is used to compute the override units, regions, and category. The latter two items are used in the [Unit Preferences Data](#Unit_Preferences_Data). @@ -1260,8 +1262,8 @@ If there is no valid -mu value, the following steps are used to determine a regi 1. If there is a valid -ms value then let USM be the corresponding value in column 2 of the table below. Otherwise FR is not used. In either case continue with step 2. -2. If there is a valid -rg region code as the prefix of its subdivision value, let R be that region, and go to Compute the category. - * See the table above for the examples `usca`, `usabc`, and `abcdef` +2. If there is a valid -rg region code portion of the rg value, let R be that region, and go to Compute the category. + * See the table above for the examples `usut`, `usabc`, and `abcdef` 4. If there is a valid region in the locale, let R be that region, and go to Compute the category. 5. Otherwise, compute the likely subtags for the locale. 1. If there is a likely region, then let R be that region, and go to Compute the category.