Skip to content

Commit 92c361e

Browse files
hywaxmohmadhabib
andauthored
feat: arabic language (#20)
* Added Arabic Locale * feat: arabian language --------- Co-authored-by: Mohammad Habib <[email protected]>
1 parent e64c0dd commit 92c361e

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Supported Languages:
116116
* 🇨🇳 **Chinese** - `zh`
117117
* 🇨🇮 **Hindi** - `hi`
118118
* 🇪🇸 **Spanish** - `es`
119+
* 🇸🇦 **Arabic** - `ar` (by @mohmadhabib)
119120

120121
If you haven't found your language, it can easily be added! Use the instructions in the section [contributing](https://mafl.hywax.space/community/contributing.html) on docs.
121122

Diff for: docs/reference/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Set the desired language with:
2121
lang: ru
2222
```
2323

24-
Values: `en`, `ru`, `zh`, `hi`, `es`
24+
Values: `en`, `ru`, `zh`, `hi`, `es`, `ar`
2525

2626
Default: `en`
2727

Diff for: docs/ru/reference/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ title: Моя домашняя страница
2121
lang: ru
2222
```
2323

24-
Поддерживаемые значения: `en`, `ru`, `zh`, `hi`, `es`
24+
Поддерживаемые значения: `en`, `ru`, `zh`, `hi`, `es`, `ar`
2525

2626
Значение по умолчанию: `en`
2727

Diff for: nuxt.config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ export default defineNuxtConfig({
9797
name: 'Español',
9898
file: 'es-ES.json',
9999
},
100+
{
101+
code: 'ar',
102+
iso: 'ar-SA',
103+
name: 'اللغة السعودية',
104+
file: 'ar-SA.json',
105+
},
100106
],
101107
strategy: 'no_prefix',
102108
langDir: 'locales',

0 commit comments

Comments
 (0)