Skip to content

Commit

Permalink
Remove zh-TW, replace zh-CN with neutral zh-Hans locale
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jun 1, 2020
1 parent 144e70c commit 1fd784d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 27 deletions.
3 changes: 1 addition & 2 deletions src/i18n/i18n.js
Expand Up @@ -24,8 +24,7 @@ export const languageFiles = {
'tr-TR': import('./json/tr-TR.json'),
'uk-UA': import('./json/uk-UA.json'),
'vi-VN': import('./json/vi-VN.json'),
'zh-CN': import('./json/zh-CN.json'),
'zh-TW': import('./json/zh-TW.json'),
'zh-Hans': import('./json/zh-Hans.json'),
};

export const supportedLocales = [defaultLocale].concat(Object.keys(languageFiles));
Expand Down
File renamed without changes.
19 changes: 0 additions & 19 deletions src/i18n/json/zh-TW.json

This file was deleted.

8 changes: 2 additions & 6 deletions src/i18n/languages.json
Expand Up @@ -105,11 +105,7 @@
"translated_name": "Tiếng Việt"
},
{
"code": "zh-CN",
"name": "Chinese (China)"
},
{
"code": "zh-TW",
"name": "Chinese (Taiwan)"
"code": "zh-Hans",
"name": "Simplified Chinese"
}
]

0 comments on commit 1fd784d

Please sign in to comment.