@@ -632,7 +632,7 @@ Locale names
632632The format of the locale name is platform dependent, and the set of supported
633633locales can depend on the system configuration.
634634
635- On Posix platforms, it usually has the format
635+ On Posix platforms, it usually has the format:
636636
637637.. productionlist :: locale_name
638638 : language ["_" territory] ["." charset] ["@" modifier]
@@ -641,7 +641,7 @@ where *language* is a two- or three-letter language code from `ISO 639`_,
641641*territory * is a two-letter country or region code from ISO 3166,
642642*charset * is a locale encoding, and *modifier * is a script name,
643643a language subtag, a sort order identifier, or other locale modifier
644- (e.g. "latin", "valencia", "stroke" and "euro").
644+ (for example, "latin", "valencia", "stroke" and "euro").
645645
646646On Windows, several formats are supported.
647647A subset of `IETF BCP 47 `_ tags:
@@ -650,20 +650,20 @@ A subset of `IETF BCP 47`_ tags:
650650 : language ["-" script] ["-" territory] ["." charset]
651651 : language ["-" script] "-" territory "-" modifier
652652
653- where *language * and *territory * has the same meaning as in Posix,
653+ where *language * and *territory * have the same meaning as in Posix,
654654*script * is a four-letter script code from `ISO 15924 `_,
655655and *modifier * is a language subtag, a sort order identifier
656- or custom modifier (e.g. "valencia", "stroke" or "x-python").
657- Both hyphen ("`` - ``" ) and underscore ("`` _ ``" ) separators are supported.
656+ or custom modifier (for example, "valencia", "stroke" or "x-python").
657+ Both hyphen (`` '-' `` ) and underscore (`` '_' `` ) separators are supported.
658658Only UTF-8 encoding is allowed for BCP 47 tags.
659659
660660Windows supports also locale names in the format
661661
662662.. productionlist :: locale_name
663663 : language ["_" territory] ["." charset]
664664
665- where *language * and *territory * are long names, such as "English" and
666- "United States", and *charset * is either a code page number (e.g. "1252")
665+ where *language * and *territory * are full names, such as "English" and
666+ "United States", and *charset * is either a code page number (for example, "1252")
667667or UTF-8.
668668Only the underscore separator is supported in this format.
669669
0 commit comments