Skip to content

feat: Localize tool panels (Crypto, QR, Metadata, MAC, Headers)#52

Merged
NovaCode37 merged 1 commit into
NovaCode37:mainfrom
xBrianOG:localize-landing-page
May 31, 2026
Merged

feat: Localize tool panels (Crypto, QR, Metadata, MAC, Headers)#52
NovaCode37 merged 1 commit into
NovaCode37:mainfrom
xBrianOG:localize-landing-page

Conversation

@xBrianOG
Copy link
Copy Markdown
Contributor

@xBrianOG xBrianOG commented May 31, 2026

Summary

This PR fully localizes the PRISM landing page and sidebar, migrating all remaining hardcoded UI strings into the existing internationalization system (en.json, ru.json, de.json).

It ensures full language support across English, Russian, and German, including the landing page, sidebar navigation, and standalone tools.

What Was Done

1. Landing Page (IdleView.tsx)

Replaced all hardcoded text with useTranslations() keys
Localized:
Title and subtitle
Statistics section
Capability cards
Standalone tools section
Demo warning banner

2. Sidebar (Sidebar.tsx)

Fully migrated to translation keys
Localized:
Scan types (Domain, IP, Email, Phone, Username)
Module labels (WHOIS, DNS, GeoIP, etc.)
Tips/help text
Uses t('sidebar.*') structure consistently

3. Standalone Tools (ToolPanels.tsx)

Localized all tool UI components:

Crypto Panel
Titles, placeholders, labels, results, and explorer link text
QR Panel
Upload prompts, decode actions, result labels, open link text
Metadata Panel
File info sections (timestamps, camera, GPS, EXIF, etc.)
Action buttons and map integration text
MAC Panel
Input placeholder, lookup button, result labels, fallback messages
Headers Panel
Analysis sections (metadata, authentication, origin)
Spoofing indicators and result labels

Localization Updates

Added toolPanels namespace to:

en.json
ru.json
de.json

All required keys for tool UI components are now fully localized.

Validation

  • No TypeScript errors
  • All UI strings replaced (no hardcoded text remaining in affected components)
  • Language switching works across EN / RU / DE
  • Layout remains stable across longer translations (RU/DE tested for overflow safety)

Files Changed

frontend/src/messages/en.json
frontend/src/messages/ru.json
frontend/src/messages/de.json
frontend/src/components/views/IdleView.tsx
frontend/src/components/Sidebar.tsx
frontend/src/components/tools/ToolPanels.tsx

@NovaCode37 NovaCode37 merged commit fbe0c2f into NovaCode37:main May 31, 2026
3 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.

2 participants