Closed cnRuanYF closed 2 years ago
Thanks for looking into this, but I think the best to do here is to revert https://github.com/navidrome/navidrome/commit/bfeb8ef6b3e5756d72b230abdbb96f8a31b2e2fa, as the language code is clearly case-sensitive. I'll revert it for next release.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
DefaultLanguage
config doesn't work when set to Chinese.Expected Behaviour
Default language can be change to Chinese.
Steps to reproduce
zh-Hans
orzh-Hant
)Platform information
Additional information
I think the legal configuration value should be the same as
i18n/xx.json
, Chinese needs to be set tozh-Hans
orzh-Hant
, but due to the processing in this commit https://github.com/navidrome/navidrome/commit/bfeb8ef6b3e5756d72b230abdbb96f8a31b2e2fazh-Hans
/zh-Hant
will be converted tozh-hans
/zh-hant
, causing the language file cannot be loadedI have tried to fix this bug and will create a PR later
(Sorry for my bad English)