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 nl and ru i18n locales to app

Amruth Pillai03cbf22c9bee
diff --git a/README.md b/README.md
index 9526900f6..6f95c638d 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Bengali (বাংলা)
- Chinese (中文)
- Danish (Dansk)
+- Dutch (Nederlands)
- English
- French (Français)
- German (Deutsch)
@@ -48,6 +49,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Kannada (ಕನ್ನಡ)
- Malayalam (മലയാളം)
- Polish (Polski)
+- Russian (русский)
- Spanish (Español)
- Tamil (தமிழ்)
- Turkish (Türkçe)
diff --git a/client/config/languages.ts b/client/config/languages.ts
index d36fa88e0..7d2a9ee50 100644
--- a/client/config/languages.ts
+++ b/client/config/languages.ts
@@ -16,7 +16,9 @@ export const languages: Language[] = [
{ code: 'it', name: 'Italian', localName: 'Italiano' },
{ code: 'kn', name: 'Kannada', localName: 'ಕನ್ನಡ' },
{ code: 'ml', name: 'Malayalam', localName: 'മലയാളം' },
+ { code: 'nl', name: 'Dutch', localName: 'Nederlands' },
{ code: 'pl', name: 'Polish', localName: 'Polski' },
+ { code: 'ru', name: 'Russian', localName: 'русский' },
{ code: 'ta', name: 'Tamil', localName: 'தமிழ்' },
{ code: 'tr', name: 'Turkish', localName: 'Türkçe' },
{ code: 'vi', name: 'Vietnamese', localName: 'Tiếng Việt' },
diff --git a/client/next-i18next.config.js b/client/next-i18next.config.js
index 4067f1e16..2a077cf58 100644
--- a/client/next-i18next.config.js
+++ b/client/next-i18next.config.js
@@ -3,7 +3,26 @@ const path = require('path');
const i18nConfig = {
i18n: {
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: '.',
localePath: path.resolve('./public/locales'),
diff --git a/client/wrappers/DateWrapper.tsx b/client/wrappers/DateWrapper.tsx
index d99abebea..8d4e10420 100644
--- a/client/wrappers/DateWrapper.tsx
+++ b/client/wrappers/DateWrapper.tsx
@@ -21,7 +21,9 @@ const DateWrapper: React.FC = ({ children }) => {
require('dayjs/locale/it');
require('dayjs/locale/kn');
require('dayjs/locale/ml');
+ require('dayjs/locale/nl');
require('dayjs/locale/pl');
+ require('dayjs/locale/ru');
require('dayjs/locale/ta');
require('dayjs/locale/tr');
require('dayjs/locale/vi');
diff --git a/docs/docs/index.mdx b/docs/docs/index.mdx
index 29606d4f2..de79c6d41 100644
--- a/docs/docs/index.mdx
+++ b/docs/docs/index.mdx
@@ -48,6 +48,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Bengali (বাংলা)
- Chinese (中文)
- Danish (Dansk)
+- Dutch (Nederlands)
- English
- French (Français)
- German (Deutsch)
@@ -56,6 +57,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Kannada (ಕನ್ನಡ)
- Malayalam (മലയാളം)
- Polish (Polski)
+- Russian (русский)
- Spanish (Español)
- Tamil (தமிழ்)
- Turkish (Türkçe)