Skip to content

Commit

Permalink
[CHORE] Use JSON files for i18n (#3011)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello authored Apr 1, 2021
1 parent 4e0dc78 commit 98b2b0a
Show file tree
Hide file tree
Showing 29 changed files with 8,646 additions and 8,688 deletions.
28 changes: 14 additions & 14 deletions app/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,59 +8,59 @@ export const LANGUAGES = [
{
label: 'English',
value: 'en',
file: require('./locales/en').default
file: require('./locales/en.json')
}, {
label: '简体中文',
value: 'zh-CN',
file: require('./locales/zh-CN').default
file: require('./locales/zh-CN.json')
}, {
label: '繁體中文',
value: 'zh-TW',
file: require('./locales/zh-TW').default
file: require('./locales/zh-TW.json')
}, {
label: 'Deutsch',
value: 'de',
file: require('./locales/de').default
file: require('./locales/de.json')
}, {
label: 'Español (ES)',
value: 'es-ES',
file: require('./locales/es-ES').default
file: require('./locales/es-ES.json')
}, {
label: 'Français',
value: 'fr',
file: require('./locales/fr').default
file: require('./locales/fr.json')
}, {
label: 'Português (BR)',
value: 'pt-BR',
file: require('./locales/pt-BR').default
file: require('./locales/pt-BR.json')
}, {
label: 'Português (PT)',
value: 'pt-PT',
file: require('./locales/pt-PT').default
file: require('./locales/pt-PT.json')
}, {
label: 'Russian',
value: 'ru',
file: require('./locales/ru').default
file: require('./locales/ru.json')
}, {
label: 'Nederlands',
value: 'nl',
file: require('./locales/nl').default
file: require('./locales/nl.json')
}, {
label: 'Italiano',
value: 'it',
file: require('./locales/it').default
file: require('./locales/it.json')
}, {
label: '日本語',
value: 'ja',
file: require('./locales/ja').default
file: require('./locales/ja.json')
}, {
label: 'العربية',
value: 'ar',
file: require('./locales/ar').default
file: require('./locales/ar.json')
}, {
label: 'Türkçe',
value: 'tr',
file: require('./locales/tr').default
file: require('./locales/tr.json')
}
];

Expand Down
661 changes: 0 additions & 661 deletions app/i18n/locales/ar.js

This file was deleted.

661 changes: 661 additions & 0 deletions app/i18n/locales/ar.json

Large diffs are not rendered by default.

708 changes: 0 additions & 708 deletions app/i18n/locales/de.js

This file was deleted.

708 changes: 708 additions & 0 deletions app/i18n/locales/de.json

Large diffs are not rendered by default.

Loading

0 comments on commit 98b2b0a

Please sign in to comment.