feat: Localize tool panels (Crypto, QR, Metadata, MAC, Headers)#52
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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