feat(i18n): implement language switching and localization support

- Remove i18next configuration and dependencies
- Add language switcher component
- Integrate language change functionality with cookies
- Update translations for English and Persian
- Modify layout and page components to support dynamic language rendering
- Refactor Tailwind CSS configuration for custom colors
This commit is contained in:
2025-06-01 17:21:11 +03:30
parent 489e65224a
commit d691c8de41
15 changed files with 166 additions and 233 deletions
+1 -5
View File
@@ -9,13 +9,9 @@
"lint": "next lint"
},
"dependencies": {
"i18next": "^25.2.1",
"i18next-browser-languagedetector": "^8.1.0",
"i18next-http-backend": "^3.0.2",
"next": "15.3.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^15.5.2"
"react-dom": "^19.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3",