diff --git a/README.md b/README.md index 5b195dd..04f4623 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ Supported Languages: * 🇨🇳 **Chinese** - `zh` * 🇨🇮 **Hindi** - `hi` * 🇪🇸 **Spanish** - `es` +* 🇸🇦 **Arabic** - `ar` (by @mohmadhabib) 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. diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 419b2e3..c2c5242 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -21,7 +21,7 @@ Set the desired language with: lang: ru ``` -Values: `en`, `ru`, `zh`, `hi`, `es` +Values: `en`, `ru`, `zh`, `hi`, `es`, `ar` Default: `en` diff --git a/docs/ru/reference/configuration.md b/docs/ru/reference/configuration.md index 677f865..f9185f3 100644 --- a/docs/ru/reference/configuration.md +++ b/docs/ru/reference/configuration.md @@ -21,7 +21,7 @@ title: Моя домашняя страница lang: ru ``` -Поддерживаемые значения: `en`, `ru`, `zh`, `hi`, `es` +Поддерживаемые значения: `en`, `ru`, `zh`, `hi`, `es`, `ar` Значение по умолчанию: `en` diff --git a/nuxt.config.ts b/nuxt.config.ts index 02575d1..8ae70d7 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -97,6 +97,12 @@ export default defineNuxtConfig({ name: 'Español', file: 'es-ES.json', }, + { + code: 'ar', + iso: 'ar-SA', + name: 'اللغة السعودية', + file: 'ar-SA.json', + }, ], strategy: 'no_prefix', langDir: 'locales',