Added fallback support for simplified chinese.
This commit is contained in:
parent
df60ce8e68
commit
790e3f7b3e
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ module Twine
|
|||
|
||||
def fallback_languages(language)
|
||||
fallback_mapping = {
|
||||
'zh-CN' => 'zh-Hans', # if we don't have a zh-CN translation, try zh-Hans before en
|
||||
'zh-TW' => 'zh-Hant' # if we don't have a zh-TW translation, try zh-Hant before en
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue