feat: integrate i18n for multilingual support in Services page

- Added i18n configuration in src/i18n.ts for English and Dutch translations.
- Created locale files for English (en.json) and Dutch (nl.json) with translations for various sections.
- Updated Services component to utilize translation keys for titles, descriptions, and items.
- Refactored process steps in Services component to be dynamically rendered from translation keys.
- Adjusted main.tsx to include i18n initialization.
This commit is contained in:
Dan Dobos
2026-02-23 13:04:13 +01:00
parent 2fed4212c7
commit 8954081593
14 changed files with 1380 additions and 331 deletions
+3 -1
View File
@@ -48,6 +48,7 @@
"cmdk": "1.1.1",
"date-fns": "3.6.0",
"embla-carousel-react": "8.6.0",
"i18next": "^25.8.13",
"input-otp": "1.4.2",
"lucide-react": "0.487.0",
"motion": "12.23.24",
@@ -56,6 +57,7 @@
"react-dnd": "16.0.1",
"react-dnd-html5-backend": "16.0.1",
"react-hook-form": "7.55.0",
"react-i18next": "^16.5.4",
"react-popper": "2.3.0",
"react-resizable-panels": "2.1.7",
"react-responsive-masonry": "2.7.1",
@@ -73,7 +75,7 @@
"@vitejs/plugin-react": "4.7.0",
"gh-pages": "^6.3.0",
"tailwindcss": "4.1.12",
"vite": "6.3.5"
"vite": "^6.4.1"
},
"peerDependencies": {
"react": "18.3.1",