- add arabic language

This commit is contained in:
Amruth Pillai
2020-07-31 12:36:43 +05:30
parent 0b6345ff16
commit 714d37deca
3 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,7 @@ For those of you familiar with the Crowdin Platform, you could do that too and j
##### Languages Currently Supported ##### Languages Currently Supported
- Arabic (عربى) (by [Ahmad Khatab](https://github.com/A7madXatab))
- Danish (Dansk) (by [RazziaDK](https://crowdin.com/profile/RazziaDK)) - Danish (Dansk) (by [RazziaDK](https://crowdin.com/profile/RazziaDK))
- Dutch (Nederlands) (by [Imad Youssoufi](https://github.com/2imad)) - Dutch (Nederlands) (by [Imad Youssoufi](https://github.com/2imad))
- English - English

View File

@ -3,6 +3,10 @@ import { initReactI18next } from 'react-i18next';
import resources from './locales'; import resources from './locales';
const languages = [ const languages = [
{
code: 'ar',
name: 'Arabic (عربى)',
},
{ {
code: 'da', code: 'da',
name: 'Danish (Dansk)', name: 'Danish (Dansk)',

View File

@ -1,3 +1,4 @@
import ar from './ar.json';
import da from './da.json'; import da from './da.json';
import de from './de.json'; import de from './de.json';
import en from './en.json'; import en from './en.json';
@ -11,6 +12,7 @@ import ptBr from './pt-br.json';
import tr from './tr.json'; import tr from './tr.json';
export default { export default {
ar: { translation: ar },
da: { translation: da }, da: { translation: da },
de: { translation: de }, de: { translation: de },
en: { translation: en }, en: { translation: en },