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 portuguese (pt) language to i18n locales

Amruth Pillai7f1c82cd9185
diff --git a/README.md b/README.md
index 303908282..1af5efc90 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Kannada (ಕನ್ನಡ)
- Malayalam (മലയാളം)
- Polish (Polski)
+- Portuguese (Português)
- Russian (русский)
- Spanish (Español)
- Tamil (தமிழ்)
diff --git a/client/config/languages.ts b/client/config/languages.ts
index 7d2a9ee50..be8781b9e 100644
--- a/client/config/languages.ts
+++ b/client/config/languages.ts
@@ -18,6 +18,7 @@ export const languages: Language[] = [
{ code: 'ml', name: 'Malayalam', localName: 'മലയാളം' },
{ code: 'nl', name: 'Dutch', localName: 'Nederlands' },
{ code: 'pl', name: 'Polish', localName: 'Polski' },
+ { code: 'pt', name: 'Portuguese', localName: 'Português' },
{ code: 'ru', name: 'Russian', localName: 'русский' },
{ 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 2a077cf58..b7a6d598b 100644
--- a/client/next-i18next.config.js
+++ b/client/next-i18next.config.js
@@ -17,6 +17,7 @@ const i18nConfig = {
'ml',
'nl',
'pl',
+ 'pt',
'ru',
'ta',
'tr',
diff --git a/client/wrappers/DateWrapper.tsx b/client/wrappers/DateWrapper.tsx
index 8d4e10420..e049f7e59 100644
--- a/client/wrappers/DateWrapper.tsx
+++ b/client/wrappers/DateWrapper.tsx
@@ -23,6 +23,7 @@ const DateWrapper: React.FC = ({ children }) => {
require('dayjs/locale/ml');
require('dayjs/locale/nl');
require('dayjs/locale/pl');
+ require('dayjs/locale/pt');
require('dayjs/locale/ru');
require('dayjs/locale/ta');
require('dayjs/locale/tr');
diff --git a/docs/docs/index.mdx b/docs/docs/index.mdx
index de79c6d41..34319df63 100644
--- a/docs/docs/index.mdx
+++ b/docs/docs/index.mdx
@@ -57,6 +57,7 @@ You have complete control over what goes into your resume, how it looks, what co
- Kannada (ಕನ್ನಡ)
- Malayalam (മലയാളം)
- Polish (Polski)
+- Portuguese (Português)
- Russian (русский)
- Spanish (Español)
- Tamil (தமிழ்)