diff --git a/README.md b/README.md index 85788304..71f4e0f7 100644 --- a/README.md +++ b/README.md @@ -64,12 +64,15 @@ You have complete control over what goes into your resume, how it looks, what co - French (Français) - German (Deutsch) - Greek (Ελληνικά) +- Hebrew (Ivrit) - Hindi (हिन्दी) - Hungarian (Magyar) +- Indonesian (Bahasa Indonesia) - Italian (Italiano) - Kannada (ಕನ್ನಡ) - Malayalam (മലയാളം) - Odia (ଓଡ଼ିଆ) +- Persian (Farsi) - Polish (Polski) - Portuguese (Português) - Russian (русский) diff --git a/client/config/languages.ts b/client/config/languages.ts index be5c0344..6af54cc0 100644 --- a/client/config/languages.ts +++ b/client/config/languages.ts @@ -14,13 +14,16 @@ export const languages: Language[] = [ { code: 'en', name: 'English' }, { code: 'es', name: 'Spanish', localName: 'Español' }, { code: 'fr', name: 'French', localName: 'Français' }, + { code: 'he', name: 'Hebrew', localName: 'Ivrit' }, { code: 'hi', name: 'Hindi', localName: 'हिन्दी' }, { code: 'hu', name: 'Hungarian', localName: 'Magyar' }, + { code: 'id', name: 'Indonesian', localName: 'Bahasa Indonesia' }, { code: 'it', name: 'Italian', localName: 'Italiano' }, { code: 'kn', name: 'Kannada', localName: 'ಕನ್ನಡ' }, { code: 'ml', name: 'Malayalam', localName: 'മലയാളം' }, { code: 'nl', name: 'Dutch', localName: 'Nederlands' }, { code: 'or', name: 'Odia', localName: 'ଓଡ଼ିଆ' }, + { code: 'fa', name: 'Persian', localName: 'Farsi' }, { code: 'pl', name: 'Polish', localName: 'Polski' }, { code: 'pt', name: 'Portuguese', localName: 'Português' }, { code: 'ru', name: 'Russian', localName: 'русский' }, diff --git a/client/next-i18next.config.js b/client/next-i18next.config.js index fa5d244d..a373aac5 100644 --- a/client/next-i18next.config.js +++ b/client/next-i18next.config.js @@ -12,9 +12,12 @@ const i18nConfig = { 'el', 'en', 'es', + 'fa', 'fr', + 'he', 'hi', 'hu', + 'id', 'it', 'kn', 'ml', diff --git a/client/pages/_app.tsx b/client/pages/_app.tsx index 2254874b..5517e804 100644 --- a/client/pages/_app.tsx +++ b/client/pages/_app.tsx @@ -1,7 +1,7 @@ import '@/styles/globals.scss'; import DayjsAdapter from '@date-io/dayjs'; -import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'; +import { LocalizationProvider } from '@mui/lab'; import type { AppProps } from 'next/app'; import Head from 'next/head'; import Script from 'next/script'; diff --git a/client/wrappers/DateWrapper.tsx b/client/wrappers/DateWrapper.tsx index 50bebc0b..6db3db10 100644 --- a/client/wrappers/DateWrapper.tsx +++ b/client/wrappers/DateWrapper.tsx @@ -18,9 +18,12 @@ const DateWrapper: React.FC> = ({ children }) = require('dayjs/locale/el'); require('dayjs/locale/en'); require('dayjs/locale/es'); + require('dayjs/locale/fa'); require('dayjs/locale/fr'); + require('dayjs/locale/he'); require('dayjs/locale/hi'); require('dayjs/locale/hu'); + require('dayjs/locale/id'); require('dayjs/locale/it'); require('dayjs/locale/kn'); require('dayjs/locale/ml');