Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n: add Chinese translation 🇨🇳 (Simplified & Traditional) #628

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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