[PR #23] Feature/i18n support #24

Open
opened 2026-03-16 12:12:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hipcityreg/situation-monitor/pull/23
Author: @jianzhichun
Created: 1/23/2026
Status: 🔄 Open

Base: mainHead: feature/i18n-support


📝 Commits (6)

  • 3072cf0 Add i18n support with English and Chinese translations
  • 1c619e2 Update all panel components to use i18n translations
  • 5eb424d Add auto-translate feature for news content
  • 611dde4 Fix translation API to use MyMemory as primary service
  • ebed7cd Fix page freeze issue with translation queue management
  • 69038dd Improve i18n translation handling and UI components

📊 Changes

43 files changed (+10810 additions, -7940 deletions)

View changed files

📝 CLAUDE.md (+8 -0)
📝 package-lock.json (+8193 -7512)
📝 package.json (+1 -0)
📝 src/lib/api/fred.ts (+2 -2)
📝 src/lib/api/leaders.ts (+4 -5)
📝 src/lib/api/markets.ts (+65 -50)
📝 src/lib/components/common/HeatmapCell.svelte (+9 -1)
📝 src/lib/components/common/NewsItem.svelte (+37 -3)
📝 src/lib/components/common/Panel.svelte (+236 -3)
📝 src/lib/components/layout/Dashboard.svelte (+181 -3)
📝 src/lib/components/layout/Header.svelte (+72 -5)
📝 src/lib/components/modals/MonitorFormModal.svelte (+8 -5)
📝 src/lib/components/modals/SettingsModal.svelte (+72 -9)
📝 src/lib/components/panels/CommoditiesPanel.svelte (+15 -6)
📝 src/lib/components/panels/ContractsPanel.svelte (+57 -5)
📝 src/lib/components/panels/CorrelationPanel.svelte (+10 -9)
📝 src/lib/components/panels/CryptoPanel.svelte (+12 -3)
📝 src/lib/components/panels/FedPanel.svelte (+109 -14)
📝 src/lib/components/panels/HeatmapPanel.svelte (+3 -2)
📝 src/lib/components/panels/IntelPanel.svelte (+83 -9)

...and 23 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hipcityreg/situation-monitor/pull/23 **Author:** [@jianzhichun](https://github.com/jianzhichun) **Created:** 1/23/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/i18n-support` --- ### 📝 Commits (6) - [`3072cf0`](https://github.com/hipcityreg/situation-monitor/commit/3072cf01956a6fd81ce72068e1589a5fb7f77158) Add i18n support with English and Chinese translations - [`1c619e2`](https://github.com/hipcityreg/situation-monitor/commit/1c619e21261212bcf4e1f11df833d7227235fe2a) Update all panel components to use i18n translations - [`5eb424d`](https://github.com/hipcityreg/situation-monitor/commit/5eb424d91a8020e6987a2ca1f96ede375225dd82) Add auto-translate feature for news content - [`611dde4`](https://github.com/hipcityreg/situation-monitor/commit/611dde425b2a99f5542ee04d2b5bbb0b81ef2669) Fix translation API to use MyMemory as primary service - [`ebed7cd`](https://github.com/hipcityreg/situation-monitor/commit/ebed7cd6e4e1179dbe490abdeaf0eb62a00a09a1) Fix page freeze issue with translation queue management - [`69038dd`](https://github.com/hipcityreg/situation-monitor/commit/69038ddcbdbd5f657738422f97713b3de7e6c2d6) Improve i18n translation handling and UI components ### 📊 Changes **43 files changed** (+10810 additions, -7940 deletions) <details> <summary>View changed files</summary> 📝 `CLAUDE.md` (+8 -0) 📝 `package-lock.json` (+8193 -7512) 📝 `package.json` (+1 -0) 📝 `src/lib/api/fred.ts` (+2 -2) 📝 `src/lib/api/leaders.ts` (+4 -5) 📝 `src/lib/api/markets.ts` (+65 -50) 📝 `src/lib/components/common/HeatmapCell.svelte` (+9 -1) 📝 `src/lib/components/common/NewsItem.svelte` (+37 -3) 📝 `src/lib/components/common/Panel.svelte` (+236 -3) 📝 `src/lib/components/layout/Dashboard.svelte` (+181 -3) 📝 `src/lib/components/layout/Header.svelte` (+72 -5) 📝 `src/lib/components/modals/MonitorFormModal.svelte` (+8 -5) 📝 `src/lib/components/modals/SettingsModal.svelte` (+72 -9) 📝 `src/lib/components/panels/CommoditiesPanel.svelte` (+15 -6) 📝 `src/lib/components/panels/ContractsPanel.svelte` (+57 -5) 📝 `src/lib/components/panels/CorrelationPanel.svelte` (+10 -9) 📝 `src/lib/components/panels/CryptoPanel.svelte` (+12 -3) 📝 `src/lib/components/panels/FedPanel.svelte` (+109 -14) 📝 `src/lib/components/panels/HeatmapPanel.svelte` (+3 -2) 📝 `src/lib/components/panels/IntelPanel.svelte` (+83 -9) _...and 23 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/situation-monitor#24
No description provided.