Skip to content

Commit a12c77f

Browse files
committed
feat(i18n): refactor i18n system with URL-based localization support
- Refactored existing i18n implementation to support language codes in URLs - Redesigned routing logic to handle language-aware navigation - Added new LanguageAwareLink component for consistent language-aware linking - Implemented AdvancedLanguageRouter for handling language-specific routing - Added middleware for URL-based language detection and redirection - Updated all existing components to work with new i18n system - Added comprehensive language utilities and services - Added new locale files for multiple languages (en-IN, zh-CN, zh-TC) - Updated layout components to support language switching - Added SEO support for multilingual content Affected components: - LanguageAwareLink - AdvancedLanguageRouter - LanguageSwitcher - LanguageSEO - LanguageAwareHeader - All locale files - Routing system - Middleware layers - Utility functions BREAKING CHANGE: - All route navigation must now use LanguageAwareLink instead of regular links - Existing URLs will be redirected to include language code - Routing logic has fundamentally changed to support language prefixes
1 parent cbd3bca commit a12c77f

71 files changed

Lines changed: 9481 additions & 893 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install dependencies
3939
run: |
4040
cd cex
41-
npm ci
41+
npm ci --legacy-peer-deps
4242
4343
- name: Build project
4444
run: |

0 commit comments

Comments
 (0)