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 Malayalam (മലയാളം) language to i18n locales

Amruth Pillai3a2e62be4c9a
diff --git a/README.md b/README.md
index bb1a10f6c..a48072d3b 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Hindi (हिन्दी)
- Italian (Italiano)
- Kannada (ಕನ್ನಡ)
+- Malayalam (മലയാളം)
- Polish (Polski)
- Spanish (Español)
- Tamil (தமிழ்)
diff --git a/client/config/languages.ts b/client/config/languages.ts
index 0489eac06..6508cd3a2 100644
--- a/client/config/languages.ts
+++ b/client/config/languages.ts
@@ -15,6 +15,7 @@ export const languages: Language[] = [
{ code: 'hi', name: 'Hindi', localName: 'हिन्दी' },
{ code: 'it', name: 'Italian', localName: 'Italiano' },
{ code: 'kn', name: 'Kannada', localName: 'ಕನ್ನಡ' },
+ { code: 'ml', name: 'Malayalam', localName: 'മലയാളം' },
{ code: 'pl', name: 'Polish', localName: 'Polski' },
{ code: 'ta', name: 'Tamil', localName: 'தமிழ்' },
{ code: 'tr', name: 'Turkish', localName: 'Türkçe' },
diff --git a/client/next-i18next.config.js b/client/next-i18next.config.js
index 72b170108..797784024 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: ['ar', 'bn', 'da', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'pl', 'ta', 'tr', 'zh'],
+ locales: ['ar', 'bn', 'da', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'ml', 'pl', 'ta', 'tr', 'zh'],
},
nsSeparator: '.',
localePath: path.resolve('./public/locales'),
diff --git a/client/wrappers/DateWrapper.tsx b/client/wrappers/DateWrapper.tsx
index 24c26a5f7..6cef9d374 100644
--- a/client/wrappers/DateWrapper.tsx
+++ b/client/wrappers/DateWrapper.tsx
@@ -20,6 +20,7 @@ const DateWrapper: React.FC = ({ children }) => {
require('dayjs/locale/hi');
require('dayjs/locale/it');
require('dayjs/locale/kn');
+ require('dayjs/locale/ml');
require('dayjs/locale/pl');
require('dayjs/locale/ta');
require('dayjs/locale/tr');
diff --git a/docs/docs/index.mdx b/docs/docs/index.mdx
index bd3ea5c75..37ee202cc 100644
--- a/docs/docs/index.mdx
+++ b/docs/docs/index.mdx
@@ -54,6 +54,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Hindi (हिन्दी)
- Italian (Italiano)
- Kannada (ಕನ್ನಡ)
+- Malayalam (മലയാളം)
- Polish (Polski)
- Spanish (Español)
- Tamil (தமிழ்)