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!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
feat(i18n): add Chinese (Simplified) language to locales
Amruth Pillai549363bbe5bd
diff --git a/README.md b/README.mdindex a1c50a8af..470f8c590 100644--- a/README.md+++ b/README.md@@ -37,6 +37,7 @@ You have complete control over what goes into your resume, how it looks, what co## Languages- Bengali (বাংলা)+- Chinese (中文)- English- French (Français)- German (Deutsch)diff --git a/client/config/languages.ts b/client/config/languages.tsindex 5756080dd..00b8754a5 100644--- a/client/config/languages.ts+++ b/client/config/languages.ts@@ -10,6 +10,11 @@ export const languages: Language[] = [name: 'Bengali',localName: 'বাংলা',},+ {+ code: 'zh',+ name: 'Chinese',+ localName: '中文',+ },{code: 'en',name: 'English',diff --git a/client/next-i18next.config.js b/client/next-i18next.config.jsindex 41f24be41..d4ee5bf5f 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: ['bn', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'ta'],+ locales: ['bn', 'de', 'en', 'es', 'fr', 'hi', 'it', 'kn', 'ta', 'zh'],},nsSeparator: '.',localePath: path.resolve('./public/locales'),diff --git a/client/wrappers/DateWrapper.tsx b/client/wrappers/DateWrapper.tsxindex ff38ede5b..e26f2065a 100644--- a/client/wrappers/DateWrapper.tsx+++ b/client/wrappers/DateWrapper.tsx@@ -19,6 +19,7 @@ const DateWrapper: React.FC = ({ children }) => {require('dayjs/locale/it');require('dayjs/locale/kn');require('dayjs/locale/ta');+ require('dayjs/locale/zh');locale && dayjs.locale(locale);}, [locale]);diff --git a/docs/docs/index.mdx b/docs/docs/index.mdxindex c751fdbe3..bef44f08d 100644--- a/docs/docs/index.mdx+++ b/docs/docs/index.mdx@@ -45,6 +45,7 @@ You have complete control over what goes into your resume, how it looks, what co## Languages- Bengali (বাংলা)+- Chinese (中文)- English- French (Français)- German (Deutsch)