Skip to content

Commit

Permalink
feat(i18n): add Chinese translation (zh-Hans and zh-Hant) (#628)
Browse files Browse the repository at this point in the history
* i18n: add Chinese translation (Simplified and Traditional)

Imported Chinese Translations from Transifex
  • Loading branch information
Overload3910 authored Jul 3, 2023
1 parent b5f9b3f commit 550a435
Show file tree
Hide file tree
Showing 3 changed files with 1,232 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/i18n/languages.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import en from './locales/en/translation.json'
import fr from './locales/fr/translation.json'
import pt_BR from './locales/pt_BR/translation.json'
import zh_Hans from './locales/zh_Hans/translation.json'
import zh_Hant from './locales/zh_Hant/translation.json'

const languages = [
{
Expand All @@ -18,6 +20,16 @@ const languages = [
description: 'Português (Brasil)',
translation: pt_BR,
},
{
key: 'zh-Hans',
description: '中国语文科 (简化字)',
translation: zh_Hans,
},
{
key: 'zh-Hant',
description: '繁中国语文科 (繁体字)',
translation: zh_Hant,
},
]

export default languages
Loading

0 comments on commit 550a435

Please sign in to comment.