feat(i18n): Implement full internationalization (11 languages) + Linux AppImage#86
Closed
Lib-LOCALE wants to merge 13 commits intokoala73:mainfrom
Closed
feat(i18n): Implement full internationalization (11 languages) + Linux AppImage#86Lib-LOCALE wants to merge 13 commits intokoala73:mainfrom
Lib-LOCALE wants to merge 13 commits intokoala73:mainfrom
Conversation
…es and add Linux AppImage config
|
@Lib-LOCALE is attempting to deploy a commit to the eliehabib projects Team on Vercel. A member of the Team first needs to authorize it. |
…omponents - StrategicPosturePanel: 25 strings (military units, tooltips, timer) - App: 4 strings (GitHub link, pin map, filter, source counter) - StatusPanel: 5 strings (system status, timestamps, storage) - PizzIntIndicator: 3 strings + t() import (DEFCON, title, updated) - PlaybackControl: 2 strings + t() import (toggle mode, LIVE) - CountryBriefPage: 4 strings (share, print, export, source ref) - DeckGLMap: 4 strings + t() import (zoom controls, layer guide) - MonitorPanel: 2 strings (placeholder, no matches) - TechEventsPanel: 4 strings (loading, empty, show on map, more info) - TechReadinessPanel: 3 strings (internet, mobile, R&D tooltips) - Removed deb from tauri.conf.json build targets - Removed duplicate monitor key from en.json
…ck, Monitor, DeckGLMap - PizzIntIndicator: panel title, tensions title, source label, 6 status labels, 3 time-ago strings - PlaybackControl: Historical Playback header, LIVE button - MonitorPanel: Add Monitor button - DeckGLMap: 25 layer labels, 8 view selector options, Layers header, All button - Added ~50 new keys to en.json (English) and fr.json (French)
… 19 panels - Panel.ts base class: showLoading/showError defaults now use t() keys - Added 27 new common.* keys to en.json and fr.json - Updated 19 panel files with t() calls for loading/error messages - Added t() import to 12 panels: SatelliteFires, PopulationExposure, Displacement, ClimateAnomaly, StrategicRisk, Prediction, Cascade, GdeltIntel, NewsPanel, GeoHubs, Panel, PredictionPanel - All showLoading custom messages now translated (UCDP events, thermal data, ETF data, stablecoins, climate data, etc.) - All showError messages now translated (failed to load, no data, etc.)
…led sources strings - App.ts: 2 showError calls (All sources/Intel sources disabled) - PopulationExposurePanel: 'No exposure data available' panel-empty - SatelliteFiresPanel: 'No fire data available' panel-empty - UcdpEventsPanel: 'No events in this category' panel-empty - ClimateAnomalyPanel: 'No significant anomalies detected' panel-empty - export.ts: Export Data title + Export CSV/JSON button labels - Added 8 new common.* keys to en.json and fr.json - Added t() import to export.ts
- NewsPanel: Close button title attribute - CountryIntelModal: 4 component tooltip titles (Unrest/Conflict/Security/Information) - CIIPanel: Share story button + 4 component tooltip titles - Added common.unrest/conflict/security/information/shareStory keys to en.json/fr.json
…riefPage - CountryBriefPage: 2 aria-label='Close' + 3 export labels (Image/JSON/CSV) - Added exportImage key to en.json and fr.json - Expanded common section with ~48 native-translated keys in: de.json (German), es.json (Spanish), it.json (Italian), pl.json (Polish), nl.json (Dutch), pt.json (Portuguese), sv.json (Swedish) - Also translated base nl/pt/sv common keys that were still in English
- Restructure popups keys in de/es/it/pl/nl/pt/sv to match en.json nested structure - Move orphaned top-level keys (earthquake, base, protest, flight, nuclear, cable, pipeline, etc.) into popups.* namespace - Add full native translations for ~200 popup keys per locale - Ensures i18next resolves popups.* keys correctly for all languages
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
|
Thank you @Lib-LOCALE |
"here" and other basic English words (pronouns, prepositions, adverbs) were not in SUPPRESSED_TRENDING_TERMS, causing false keyword spike findings for common words.
7 tasks
Owner
|
Superseded by #100 — all i18n work (14 locales, 22 commits, zero hardcoded English) is on This PR was a cross-fork PR from |
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.
PR: Internationalization (i18n) Support & Linux AppImage Configuration
📝 Summary
This PR implements full internationalization (i18n) support for WorldMonitor, enabling the application to support 9 languages. It also adds configuration for building Linux AppImages.
✨ Features
en)fr)de)es)it)pl)nl)pt)sv)Search,Signal,CountryIntel)appimageanddebtargets totauri.conf.json.🛠️ Technical Changes
i18nextfor translation management.src/locales/*.json.npm run typecheck.MapPopup.ts,RuntimeConfigPanel.ts, etc.) replaced witht()calls.popups,modals, andpanels.capacity,strategic).✅ Validation
npm run typecheck(0 errors).🚀 Next Steps
.AppImagebuild.