mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
fix: Language name doesn't appear for zh-Hant
Language name doesn't appear when LanguageCode has a sub-code The issue appears to be an inconsistency/bug with Hugo's `.Translations` lowercasing zh-Hant to zh-hant without offering a way to get the language code as it was defined. We can workaround it for now by converting to lowercase to align with Hugo's current implementation. Fix #2256
This commit is contained in:
1 parent
f3ea40cc5f
commit
97ff003d9f
1 file changed
+1
-1
@@ -32,4 +32,4 @@
|
||||
'uk': 'Українська'
|
||||
'vi': 'Tiếng Việt'
|
||||
'zh': '中文 (简体)'
|
||||
'zh-Hant': '中文 (繁體)'
|
||||
'zh-hant': '中文 (繁體)'
|
||||
Reference in new issue
Block a user