mirror of https://github.com/pixelfed/pixelfed
Use locale_get_display_name for language labels
locale_get_display_language reads only the language subtag and ignores the region, so zh-cn and zh-tw both rendered as 'Chinese - 中文'. Switching to locale_get_display_name disambiguates region variants (Chinese (China) / Chinese (Taiwan)) while leaving all region-less locales unchanged. Updated the settings language dropdown and the /i/lang picker.pull/7263/head
parent
0f10ec0a47
commit
f4dbddd8b5
Loading…
Reference in New Issue