mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
feat(i18n): add nl and ru i18n locales to app
This commit is contained in:
@ -40,6 +40,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
- Bengali (বাংলা)
|
- Bengali (বাংলা)
|
||||||
- Chinese (中文)
|
- Chinese (中文)
|
||||||
- Danish (Dansk)
|
- Danish (Dansk)
|
||||||
|
- Dutch (Nederlands)
|
||||||
- English
|
- English
|
||||||
- French (Français)
|
- French (Français)
|
||||||
- German (Deutsch)
|
- German (Deutsch)
|
||||||
@ -48,6 +49,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
- Kannada (ಕನ್ನಡ)
|
- Kannada (ಕನ್ನಡ)
|
||||||
- Malayalam (മലയാളം)
|
- Malayalam (മലയാളം)
|
||||||
- Polish (Polski)
|
- Polish (Polski)
|
||||||
|
- Russian (русский)
|
||||||
- Spanish (Español)
|
- Spanish (Español)
|
||||||
- Tamil (தமிழ்)
|
- Tamil (தமிழ்)
|
||||||
- Turkish (Türkçe)
|
- Turkish (Türkçe)
|
||||||
|
|||||||
@ -16,7 +16,9 @@ export const languages: Language[] = [
|
|||||||
{ code: 'it', name: 'Italian', localName: 'Italiano' },
|
{ code: 'it', name: 'Italian', localName: 'Italiano' },
|
||||||
{ code: 'kn', name: 'Kannada', localName: 'ಕನ್ನಡ' },
|
{ code: 'kn', name: 'Kannada', localName: 'ಕನ್ನಡ' },
|
||||||
{ code: 'ml', name: 'Malayalam', localName: 'മലയാളം' },
|
{ code: 'ml', name: 'Malayalam', localName: 'മലയാളം' },
|
||||||
|
{ code: 'nl', name: 'Dutch', localName: 'Nederlands' },
|
||||||
{ code: 'pl', name: 'Polish', localName: 'Polski' },
|
{ code: 'pl', name: 'Polish', localName: 'Polski' },
|
||||||
|
{ code: 'ru', name: 'Russian', localName: 'русский' },
|
||||||
{ code: 'ta', name: 'Tamil', localName: 'தமிழ்' },
|
{ code: 'ta', name: 'Tamil', localName: 'தமிழ்' },
|
||||||
{ code: 'tr', name: 'Turkish', localName: 'Türkçe' },
|
{ code: 'tr', name: 'Turkish', localName: 'Türkçe' },
|
||||||
{ code: 'vi', name: 'Vietnamese', localName: 'Tiếng Việt' },
|
{ code: 'vi', name: 'Vietnamese', localName: 'Tiếng Việt' },
|
||||||
|
|||||||
@ -3,7 +3,26 @@ const path = require('path');
|
|||||||
const i18nConfig = {
|
const i18nConfig = {
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: ['ar', 'bn', 'da', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'ml', 'pl', 'ta', 'tr', 'vi', 'zh'],
|
locales: [
|
||||||
|
'ar',
|
||||||
|
'bn',
|
||||||
|
'da',
|
||||||
|
'de',
|
||||||
|
'en',
|
||||||
|
'es',
|
||||||
|
'fr',
|
||||||
|
'hi',
|
||||||
|
'it',
|
||||||
|
'kn',
|
||||||
|
'ml',
|
||||||
|
'nl',
|
||||||
|
'pl',
|
||||||
|
'ru',
|
||||||
|
'ta',
|
||||||
|
'tr',
|
||||||
|
'vi',
|
||||||
|
'zh',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
nsSeparator: '.',
|
nsSeparator: '.',
|
||||||
localePath: path.resolve('./public/locales'),
|
localePath: path.resolve('./public/locales'),
|
||||||
|
|||||||
@ -21,7 +21,9 @@ const DateWrapper: React.FC = ({ children }) => {
|
|||||||
require('dayjs/locale/it');
|
require('dayjs/locale/it');
|
||||||
require('dayjs/locale/kn');
|
require('dayjs/locale/kn');
|
||||||
require('dayjs/locale/ml');
|
require('dayjs/locale/ml');
|
||||||
|
require('dayjs/locale/nl');
|
||||||
require('dayjs/locale/pl');
|
require('dayjs/locale/pl');
|
||||||
|
require('dayjs/locale/ru');
|
||||||
require('dayjs/locale/ta');
|
require('dayjs/locale/ta');
|
||||||
require('dayjs/locale/tr');
|
require('dayjs/locale/tr');
|
||||||
require('dayjs/locale/vi');
|
require('dayjs/locale/vi');
|
||||||
|
|||||||
@ -48,6 +48,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
- Bengali (বাংলা)
|
- Bengali (বাংলা)
|
||||||
- Chinese (中文)
|
- Chinese (中文)
|
||||||
- Danish (Dansk)
|
- Danish (Dansk)
|
||||||
|
- Dutch (Nederlands)
|
||||||
- English
|
- English
|
||||||
- French (Français)
|
- French (Français)
|
||||||
- German (Deutsch)
|
- German (Deutsch)
|
||||||
@ -56,6 +57,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
- Kannada (ಕನ್ನಡ)
|
- Kannada (ಕನ್ನಡ)
|
||||||
- Malayalam (മലയാളം)
|
- Malayalam (മലയാളം)
|
||||||
- Polish (Polski)
|
- Polish (Polski)
|
||||||
|
- Russian (русский)
|
||||||
- Spanish (Español)
|
- Spanish (Español)
|
||||||
- Tamil (தமிழ்)
|
- Tamil (தமிழ்)
|
||||||
- Turkish (Türkçe)
|
- Turkish (Türkçe)
|
||||||
|
|||||||
Reference in New Issue
Block a user