Conversation
Upstream PR QuantumNous#4876 trimmed the locale key set; the dashboard overview rebuild lost ~30 keys (Available Balance, Top Up, Realtime Usage, Code Samples, Model Providers, etc.) which fell back to English. Add the keys back across all 6 locales with proper Chinese translations; other locales fall back to English until translated.
There was a problem hiding this comment.
Pull request overview
Restores ~30 i18n keys for the dashboard overview that were dropped by an upstream merge. The Chinese locale gets proper translations; other locales receive English placeholder values that match the existing fallback pattern, and sync reports are updated accordingly.
Changes:
- Re-add missing dashboard overview keys across all 6 locale files
- Provide proper Chinese translations in
zh.json; leave English fallbacks for en/fr/ja/ru/vi - Update
_reports/*.untranslated.jsonand_sync-report.jsonto reflect new untranslated counts
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| web/default/src/i18n/locales/zh.json | Add ~30 keys with proper Chinese translations |
| web/default/src/i18n/locales/en.json | Add missing keys (identity values) |
| web/default/src/i18n/locales/fr.json | Add missing keys with English fallback values |
| web/default/src/i18n/locales/ja.json | Add missing keys with English fallback values |
| web/default/src/i18n/locales/ru.json | Add missing keys with English fallback values |
| web/default/src/i18n/locales/vi.json | Add missing keys with English fallback values |
| web/default/src/i18n/locales/_reports/zh.untranslated.json | Track new untranslated key |
| web/default/src/i18n/locales/_reports/vi.untranslated.json | Track new untranslated key |
| web/default/src/i18n/locales/_reports/ru.untranslated.json | Track new untranslated keys |
| web/default/src/i18n/locales/_reports/ja.untranslated.json | Track new untranslated keys |
| web/default/src/i18n/locales/_reports/fr.untranslated.json | Track new untranslated key |
| web/default/src/i18n/locales/_reports/_sync-report.json | Update untranslated counts per locale |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Upstream PR QuantumNous#4876 trimmed the locale key set; the dashboard overview rebuild lost ~30 keys that fell back to displaying English text in a Chinese UI (visible as the half-English/half-Chinese dashboard hero).
Available Balance,Top Up,Realtime Usage,Code Samples,Model Providers,Quick Start,Pricing Plans,Gateway,System status,Refresh,View API Docs,More models,Smart Route,Pay-as-you-go & low cost, etc.zh.jsongets proper Chinese translationsbun run i18n:syncconfirms all 6 locales: 4506 keys, missingCount=0, extrasCount=0Test plan
cd web/default && bun run build(verified locally)/dashboardoverview: hero, Model Providers, Realtime Usage, Code Samples, Available Balance, Top Up — all show Chinese