feat(i18n): add internationalization support with i18next

- Add i18next and related dependencies for translation support
- Create locale files for English and Farsi languages
- Implement i18n configuration and provider in layout
- Set up route factory and constants for internationalized routes
- Remove test button components and simplify main page
This commit is contained in:
2025-05-31 16:41:12 +03:30
parent b8c3ebcee3
commit cb77aef586
15 changed files with 270 additions and 59 deletions
+5 -1
View File
@@ -9,9 +9,13 @@
"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-dom": "^19.0.0",
"react-i18next": "^15.5.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3",