Skip to content

Add dashboard analytics internationalization#550

Merged
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
Agbasimere:codex-dashboard-analytics-i18n
May 28, 2026
Merged

Add dashboard analytics internationalization#550
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
Agbasimere:codex-dashboard-analytics-i18n

Conversation

@Agbasimere
Copy link
Copy Markdown
Contributor

@Agbasimere Agbasimere commented May 28, 2026

Closes #534

Summary

  • replace hardcoded Dashboard Analytics UI copy with localized strings
  • add shared dashboard analytics translation helpers and locale entries for en, es, and ar
  • localize chart controls, drill-down labels, realtime status text, toast messages, export headers, and date labels
  • update dashboard and visualization tests to cover the i18n-aware behavior

What changed

  • added src/components/dashboard/dashboardI18n.ts to centralize dashboard analytics translation lookups and fallbacks
  • updated dashboard components and hooks to use the existing useInternationalization flow
  • made generated analytics date labels locale-aware
  • made CSV export headers locale-aware
  • expanded locale JSON files with dashboard analytics keys
  • updated focused dashboard tests and added a locale-sensitive date-label test

Testing

  • locale JSON parse check passed with Node
  • automated Vitest run is currently blocked in this environment because node_modules is missing, so vitest is not installed here

Notes

  • no staging or production deployment was performed from this environment
  • branch pushed: codex-dashboard-analytics-i18n
  • commit: ed4fe06

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@Agbasimere Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER RUKAYAT-CODER merged commit 979f830 into rinafcode:main May 28, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug Dashboard Analytics : Internationalization Support

2 participants