Skip to content

Commit

Permalink
chore: add Arabic to the list of languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Jul 15, 2024
1 parent aadad92 commit bb1c0ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions i18n/languages.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Language} from '../src/lib/types';

// string files
import {default as ar} from './strings/ar.json';
import {default as be} from './strings/be.json';
import {default as de} from './strings/de.json';
import {default as en} from './strings/en.json';
Expand All @@ -12,6 +13,7 @@ import {default as tr} from './strings/tr.json';

// resources object passed to i18next
export const resources = {
ar: {translation: ar},
be: {translation: be},
de: {translation: de},
en: {translation: en},
Expand All @@ -24,6 +26,11 @@ export const resources = {

// languages object, used for settings
export const languages: Record<string, Language> = {
ar: {
name: 'العربية',
englishName: 'Arabic',
emoji: '🇸🇦',
},
be: {
name: 'беларуская',
englishName: 'Belarusian',
Expand Down

0 comments on commit bb1c0ac

Please sign in to comment.