fix(dashboard): Fix localization issues in Insights Dashboard - #4189
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe PR updates dashboard components to support internationalization using Lingui. Changes include: adding documentation for i18n extraction and application commands, introducing a Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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 |
|
|
Looks good, just needs the merges handled |



Description
Fixes #4004
resolves OSS-24
Big diff due to added translations
Fixes localization issues in the Insights Dashboard where German (and other non-English) users saw English date formats, untranslated strings, and incorrect tooltip labels.
Changes:
<Trans>("0 of 10 rows selected")useLocalFormat().formatRelativeDate()instead ofdate-fns.formatRelative()for locale-aware relative dates(same pattern, discovered while fixing):
date-fns→useLocalFormatfix<Trans>Screenshots
Checklist
📌 Always:
👍 Most of the time: