Closed al-one closed 2 years ago
https://github.com/kalkih/mini-media-player/blob/e5ac7b5dcb2e713fab51128f962462af8cec04f6/src/translations.js#L1
But the language code returned by hass.selectedLanguage || hass.language with subtag in some regions, such as zh-Hans in China.
hass.selectedLanguage || hass.language
zh-Hans
https://github.com/kalkih/mini-media-player/blob/e5ac7b5dcb2e713fab51128f962462af8cec04f6/src/translations.js#L1
But the language code returned by
hass.selectedLanguage || hass.language
with subtag in some regions, such aszh-Hans
in China.