mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
feat(i18n): add arabic language to i18n locale
This commit is contained in:
@ -36,6 +36,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
|
|
||||||
## Languages
|
## Languages
|
||||||
|
|
||||||
|
- Arabic (اَلْعَرَبِيَّةُ)
|
||||||
- Bengali (বাংলা)
|
- Bengali (বাংলা)
|
||||||
- Chinese (中文)
|
- Chinese (中文)
|
||||||
- Danish (Dansk)
|
- Danish (Dansk)
|
||||||
|
|||||||
@ -5,6 +5,7 @@ export type Language = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const languages: Language[] = [
|
export const languages: Language[] = [
|
||||||
|
{ code: 'ar', name: 'Arabic', localName: 'اَلْعَرَبِيَّةُ' },
|
||||||
{ code: 'bn', name: 'Bengali', localName: 'বাংলা' },
|
{ code: 'bn', name: 'Bengali', localName: 'বাংলা' },
|
||||||
{ code: 'da', name: 'Danish', localName: 'Dansk' },
|
{ code: 'da', name: 'Danish', localName: 'Dansk' },
|
||||||
{ code: 'de', name: 'German', localName: 'Deutsch' },
|
{ code: 'de', name: 'German', localName: 'Deutsch' },
|
||||||
|
|||||||
@ -3,7 +3,7 @@ const path = require('path');
|
|||||||
const i18nConfig = {
|
const i18nConfig = {
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
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: '.',
|
nsSeparator: '.',
|
||||||
localePath: path.resolve('./public/locales'),
|
localePath: path.resolve('./public/locales'),
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import NextDocument, { DocumentContext, Head, Html, Main, NextScript } from 'nex
|
|||||||
const Document: NextPage = () => (
|
const Document: NextPage = () => (
|
||||||
<Html>
|
<Html>
|
||||||
<Head />
|
<Head />
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<Main />
|
<Main />
|
||||||
<NextScript />
|
<NextScript />
|
||||||
|
|||||||
@ -44,6 +44,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
|
|
||||||
## Languages
|
## Languages
|
||||||
|
|
||||||
|
- Arabic (اَلْعَرَبِيَّةُ)
|
||||||
- Bengali (বাংলা)
|
- Bengali (বাংলা)
|
||||||
- Chinese (中文)
|
- Chinese (中文)
|
||||||
- Danish (Dansk)
|
- 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)
|
#### [💸 PayPal](https://paypal.me/RajaRajanA)
|
||||||
|
|
||||||
## Contributors Wall
|
## Contributors Wall
|
||||||
|
|
||||||
<a href="https://github.com/AmruthPillai/Reactive-Resume/graphs/contributors">
|
<a href="https://github.com/AmruthPillai/Reactive-Resume/graphs/contributors">
|
||||||
<img src="https://contrib.rocks/image?repo=AmruthPillai/Reactive-Resume" />
|
<img src="https://contrib.rocks/image?repo=AmruthPillai/Reactive-Resume" />
|
||||||
</a>
|
</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._
|
_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
|
## License
|
||||||
|
|||||||
Reference in New Issue
Block a user