Skip to content

Commit

Permalink
Fix Arabic language file language code
Browse files Browse the repository at this point in the history
Closes #123
  • Loading branch information
wojtekmaj committed Jan 8, 2023
1 parent 9b94f40 commit 6f1628d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/i18n/i18n.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const defaultLocale = 'en-US';

export const languageFiles = {
'ar': async () => (await import('./json/ar.json')).default,
'ar-AE': async () => (await import('./json/ar-AE.json')).default,
'be-BY': async () => (await import('./json/be-BY.json')).default,
'de-DE': async () => (await import('./json/de-DE.json')).default,
'es-ES': async () => (await import('./json/es-ES.json')).default,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/i18n/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"translated_name": "English (US)"
},
{
"code": "ar",
"code": "ar-AE",
"name": "Arabic",
"translated_name": "العربية"
},
Expand Down

0 comments on commit 6f1628d

Please sign in to comment.