From 46712bff3dd2be6e3def01be97eb4050f054cda7 Mon Sep 17 00:00:00 2001 From: Chris Chapman Date: Thu, 29 Aug 2024 14:08:35 -0700 Subject: [PATCH] ICU-22877 revised "Region code" (formerly "Country code") section --- docs/userguide/locale/index.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/userguide/locale/index.md b/docs/userguide/locale/index.md index 60a5cb969252..a4bf02a3489d 100644 --- a/docs/userguide/locale/index.md +++ b/docs/userguide/locale/index.md @@ -97,17 +97,20 @@ The optional four-letter script code follows the language code. If specified, it should be a valid script code as listed on the [Unicode ISO 15924 Registry](https://www.unicode.org/iso15924/iso15924-codes.html). -### Country code +### Region code There are often different language conventions within the same language. For example, Spanish is spoken in many countries in Central and South America but the currencies are different in each country. To allow for these differences -among specific geographical, political, or cultural regions, locales are -specified by two-letter, uppercase codes. For example, "ES" represents Spain and -"MX" represents Mexico. The two letter country code uses the -[ISO-3166](https://www.iso.org/iso-3166-country-codes.html) standard. - -Java supports two letter country codes that uses ISO-3166 and UN M.49 code. +among specific geographical, political, or cultural regions, locales follow +the [BCP 47](https://www.rfc-editor.org/info/bcp47) convention of specifying +regions by using two-letter-uppercase +[ISO-3166](https://www.iso.org/iso-3166-country-codes.html) or three-digit +[UN M.49](https://unstats.un.org/unsd/methodology/m49/) codes. For example, +"ES" represents Spain, "MX" represents Mexico, and "419" represents Latin America +and the Caribbean. For more information, please see the +[unicode_region_subtag](https://www.unicode.org/reports/tr35/#unicode_region_subtag_validity) +section of theĀ [Locale Data Markup Language](https://www.unicode.org/reports/tr35/). ### Variant code