judge4c/src/i18n
cfngc4594 01b72209ae refactor(i18n): migrate locale configuration to generated types
- Replace hardcoded locale strings with generated Locale enum from client
- Update cookie key name to be more specific (LOCALE_COOKIE_NAME -> JUDGE4C_LOCALE_KEY)
- Rename defaultLocale to DEFAULT_LOCALE for consistency
- Add 'server-only' imports to ensure server-side usage
- Simplify locale validation using Object.values(Locale)
- Clean up accept-language header parsing logic
2025-05-12 21:07:43 +08:00
..
locale.ts refactor(i18n): migrate locale configuration to generated types 2025-05-12 21:07:43 +08:00
request.ts refactor(i18n): migrate locale configuration to generated types 2025-05-12 21:07:43 +08:00