col-sm-9 col-md-8 main-content">
      <div><h1><span class="kind-class">Locale</span> class </h1></div>

    <section class="desc markdown">
      <p>An identifier used to select a user's language and formatting preferences.</p>
<p>This represents a <a href="https://www.unicode.org/reports/tr35/#Unicode_language_identifier">Unicode Language
Identifier</a>
(i.e. without Locale extensions), except variants are not supported.</p>
<p>Locales are canonicalized according to the "preferred value" entries in the
<