Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

feat(i18n): add arabic language to i18n locale

Amruth Pillai39fa6da5dd77
diff --git a/README.md b/README.md
index 6451d215e..bb1a10f6c 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@ You have complete control over what goes into your resume, how it looks, what co
## Languages
+- Arabic (اَلْعَرَبِيَّةُ)
- Bengali (বাংলা)
- Chinese (中文)
- Danish (Dansk)
diff --git a/client/config/languages.ts b/client/config/languages.ts
index 28831d631..0489eac06 100644
--- a/client/config/languages.ts
+++ b/client/config/languages.ts
@@ -5,6 +5,7 @@ export type Language = {
};
export const languages: Language[] = [
+ { code: 'ar', name: 'Arabic', localName: 'اَلْعَرَبِيَّةُ' },
{ code: 'bn', name: 'Bengali', localName: 'বাংলা' },
{ code: 'da', name: 'Danish', localName: 'Dansk' },
{ code: 'de', name: 'German', localName: 'Deutsch' },
diff --git a/client/next-i18next.config.js b/client/next-i18next.config.js
index ae899498b..72b170108 100644
--- a/client/next-i18next.config.js
+++ b/client/next-i18next.config.js
@@ -3,7 +3,7 @@ const path = require('path');
const i18nConfig = {
i18n: {
defaultLocale: 'en',
- locales: ['bn', 'da', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'pl', 'ta', 'tr', 'zh'],
+ locales: ['ar', 'bn', 'da', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'pl', 'ta', 'tr', 'zh'],
},
nsSeparator: '.',
localePath: path.resolve('./public/locales'),
diff --git a/client/pages/_document.tsx b/client/pages/_document.tsx
index d5e328c3b..6beab6575 100644
--- a/client/pages/_document.tsx
+++ b/client/pages/_document.tsx
@@ -4,6 +4,7 @@ import NextDocument, { DocumentContext, Head, Html, Main, NextScript } from 'nex
const Document: NextPage = () => (
<Html>
<Head />
+
<body>
<Main />
<NextScript />
diff --git a/docs/docs/index.mdx b/docs/docs/index.mdx
index c2871c805..bd3ea5c75 100644
--- a/docs/docs/index.mdx
+++ b/docs/docs/index.mdx
@@ -44,6 +44,7 @@ You have complete control over what goes into your resume, how it looks, what co
## Languages
+- Arabic (اَلْعَرَبِيَّةُ)
- Bengali (বাংলা)
- Chinese (中文)
- Danish (Dansk)
@@ -71,11 +72,11 @@ Reactive Resume would be nothing without the folks who supported me and kept the
#### [💸 PayPal](https://paypal.me/RajaRajanA)
## Contributors Wall
+
<a href="https://github.com/AmruthPillai/Reactive-Resume/graphs/contributors">
<img src="https://contrib.rocks/image?repo=AmruthPillai/Reactive-Resume" />
</a>
-
_Note: It may take up to 24h for the [contrib.rocks](https://contrib.rocks/image?repo=AmruthPillai/Reactive-Resume) plugin to update because it's refreshed once a day._
## License