add Chinese language support

This commit is contained in:
YiSiliang
2021-03-14 21:07:50 +08:00
parent 4ba83b8efc
commit cd2e333caa
2 changed files with 43 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ const localeGetters: Record<string, () => object> = {
fr: () => require('./lang/fr/locale.json'),
nl: () => require('./lang/nl/locale.json'),
es: () => require('./lang/es/locale.json'),
zh: () => require('./lang/zh/locale.json'),
};
// Have RNLocalize pick the best locale from the languages on offer