title: Language codes to friendly names
body: <p>I have a language code, such as &quot;en_US&quot;, and I'm trying to get a friendly name from it such as &quot;English&quot;.</p>
  <p>Here's what I'm doing right now:</p>
  <pre><code>Locale.current.localizedString(forLanguageCode: code)
  </code></pre>
  <p>It works, but for languages such as Chinese, it doesn't quite do what I want.</p>
  <p><code>zh-Hans</code> should return &quot;Simplified Chinese&quot;, and <code>zh-Hant</code> should return &quot;Traditional Chinese&quot;.</p>
  <p>However, they both just return &quot;Chinese&quot;. How would you get them to return the correct values?</p>