···4545 const translatedName = allNames.of(langCode)
46464747 if (translatedName) {
4848- // force simple title case (as languages do not always start with an uppercase in Unicode data)
4949- return translatedName[0].toLocaleUpperCase() + translatedName.slice(1)
4848+ return translatedName
5049 }
5150 } catch (e) {
5251 // ignore RangeError from Intl.DisplayNames APIs