···8686 * @returns pretty format for language, null if it no info can be found for language
8787 */
8888export function getPrettyLanguageNameFromLocale(locale: string): string | null {
8989- const tag = getTag(populateLanguageCode(locale), true);
8989+ const tag = getTag(locale, true);
9090 const lang = tag?.language?.Description?.[0] ?? null;
9191 if (!lang) return null;
9292