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
+10
View File
@@ -0,0 +1,10 @@
const en = {
pages_home_title: 'Home',
pages_home_description: 'Welcome to the home page',
pages_about_title: 'About Us',
pages_about_description: 'Learn more about us on this page',
pages_contact_title: 'Contact Us',
pages_contact_description: 'Get in touch with us through this page',
};
export default en;