fix(i18n): add Cloud login translations for es, it, ko
Summary
Internationalize the Cloud login UI (added in #812) and fill in missing ROCm GPU translations, bringing all 8 non-English locales (es, fr, it, ja, ko, pt-BR, zh-CN, zh-TW) to full key parity with en.
CloudSection.tsxhad zerouseTranslation/t()calls — titles, toasts, and button labels were hardcoded English strings regardless of the user's selected language. Wired in 25 newsettings.general.cloud.*keys and replaced the hardcoded strings witht()calls.fr,ja,pt-BR,zh-CN,zh-TWwere missing translations for thesettings.general.rocm.*namespace (silently falling back to English).- Added the Cloud login translations to
es,it,koas well, so all locales stay consistent.
Verified: key parity 875/875 across all 8 non-English locale files (no missing/extra keys vs en), JSON validates.
Test plan
- [x] Ran the app locally (
just dev-web), switched language to es/it/ko/fr/ja/pt-BR/zh-CN/zh-TW, confirmed the Cloud login section (Settings → General) renders translated instead of falling back to English - [x] Scripted key-parity check confirms 875/875 keys across all locale files vs
en
Summary by CodeRabbit
-
New Features
- Added localized Voicebox Cloud settings, including browser sign-in, connection status, account linking, disconnection, and dashboard management.
- Added ROCm GPU backend settings with download, switching, active-status, update, and removal controls.
- Added clearer CUDA active-backend status information.
-
Improvements
- Expanded GPU error messages and updated hardware support guidance.
- Improved localized wording across supported languages, including a shortcut settings label correction.
Hey, I'm Alex!
I added the Spanish (ES) translation — it's my main language, so I was glad to contribute. While double-checking coverage, I also noticed a couple of translation gaps that existed across all languages (not just Spanish): the new "Log in with browser" Cloud section and the AMD ROCm GPU settings were never wired into i18n at all, so they were silently falling back to English everywhere. Went ahead and filled those in too, for every existing locale.
Happy to answer any questions!
📝 Walkthrough
Walkthrough
CloudSection now renders its user-facing text through i18n keys. Locale files add Voicebox Cloud strings across supported languages, while several GPU locale files add CUDA and ROCm backend text.
Changes
Localization updates
| Layer / File(s) | Summary |
|---|---|
Cloud UI translation flow app/src/components/ServerTab/CloudSection.tsx, app/src/i18n/locales/*/translation.json |
Cloud connection, browser sign-in, disconnection, account, dashboard, toast, and button text now use translated strings across locale catalogs. |
GPU backend localization app/src/i18n/locales/{fr,ja,pt-BR,zh-CN,zh-TW}/translation.json |
GPU translations add CUDA active-state text, ROCm backend actions, ROCm deletion errors, and revised footer wording. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Possibly related PRs
- jamiepine/voicebox#508: Provides the i18n setup used by these CloudSection localization changes.
- jamiepine/voicebox#798: Adds the Spanish locale resources extended by this change.
- jamiepine/voicebox#802: Adds the French locale resources extended by this change.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | The title matches the i18n Cloud login translation work, though it omits the broader locale coverage and ROCm GPU updates. |
✨ Finishing Touches
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
I originally set out to do the Spanish translation, but it looks like that got merged already by another contributor in #798 — props to them, nice work!
While rebasing on top of that, I noticed the Cloud login feature (#812) never got wired up for i18n at all — it's all hardcoded English strings in CloudSection.tsx. Also found a few locales missing the ROCm translations. Figured I'd fix both gaps here
instead of letting the ES work go to waste.
Also, i left the Claude Co author mark, since the Korean, Chinese and French Translations are not from my own.