Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (40)
WalkthroughThis PR implements comprehensive internationalization (i18n) support in wren-ui using next-intl, introducing English and French translation files, locale-based routing and message loading, an automated i18n extraction script, and updating ~30 components to use translated strings. It also renames branding references from "Wren AI" to "Kernel IQ" across the codebase and adds architectural documentation. Changes
Sequence Diagram(s)sequenceDiagram
participant Browser
participant NextApp as Next.js App (_app.tsx)
participant Router as Next Router
participant MessageLoader as Message Loader
participant Provider as NextIntlClientProvider
participant Component as UI Component
Browser->>NextApp: Request with locale
NextApp->>Router: Extract router.locale
NextApp->>MessageLoader: loadMessages(locale)
MessageLoader-->>NextApp: AbstractIntlMessages
NextApp->>Provider: Wrap with NextIntlClientProvider<br/>(messages, locale)
Provider->>Component: Provide i18n context
Component->>Component: useTranslations()
Component->>Component: t('translation.key')
Component-->>Browser: Render localized UI
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can approve the review once all CodeRabbit's comments are resolved.Enable the |
Integrate Internationalization, add french translation.
Summary by CodeRabbit
Release Notes
New Features
Updates