Skip to content

i18n: Make skill install dialogs and errors translatable - #16682

Merged
OrcaWin merged 1 commit into
mainfrom
OrcaWin/translation-skills-page
Aug 26, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
OrcaWin/translation-skills-page

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Aug 26, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 0 0 0 0
Prod 10 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​222 $\color{#cf222e}{\Huge{\mathbf{−}}}$​38 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​184

Problem

Skill installation dialogs, error messages, and progress labels were hardcoded as English strings, making the skill install flow non-translatable.

Solution

Extracted all user-facing strings from skill install components into translatable i18n keys:

  • Wrapped error messages in SkillBundleInstallFlow, SkillInstallDialog, SkillInstallManagementDialog, and SkillShareDialog with translate() calls
  • Moved phase labels in skill-install-progress-state.ts from a constant object to translatable calls
  • Added 20 new i18n keys under auto.components.skills.install.* namespace covering validation errors, network errors, and progress states
  • Added translations for all new keys to English, Spanish, Japanese, Korean, and Chinese locales

Testing

  • Skill install flow error messages and labels now respect language preference
  • Translated strings added to all supported locales with appropriate fallbacks

Extract hardcoded error messages and status labels from skill
installation components into the i18n system. Supports localized
UI for install flows in English, Spanish, Japanese, Korean, Chinese.
@OrcaWin
OrcaWin requested a review from brennanb2025 as a code owner August 26, 2026 22:02
@OrcaWin
OrcaWin merged commit 7d5c7aa into main Aug 26, 2026
1 check passed
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 16a52be6-e429-48bb-be0e-b2a7f792f945

📥 Commits

Reviewing files that changed from the base of the PR and between ef0d593 and 7131d13.

📒 Files selected for processing (10)
  • src/renderer/src/components/skills/SkillBundleInstallFlow.tsx
  • src/renderer/src/components/skills/SkillInstallDialog.tsx
  • src/renderer/src/components/skills/SkillInstallManagementDialog.tsx
  • src/renderer/src/components/skills/SkillShareDialog.tsx
  • src/renderer/src/components/skills/skill-install-progress-state.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json

📝 Walkthrough

Walkthrough

The Skills interface adds translations for Spanish, Japanese, Korean, and Simplified Chinese. English locale entries cover installation and sharing messages. Installation dialogs and bundle flows now translate validation, verification, reconnection, cancellation, version, and removal errors. Sharing cancellation errors use translation keys. Installation progress labels now translate authorization and installation phases.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

nwparker added a commit that referenced this pull request Aug 26, 2026
#16682 merged with a failing localization catalog: ja used エージェント
in three new skill-filter strings, and repair-locale-catalog rewrites
those to Agent. Match the rest of ja.json so static analysis can pass.
nwparker added a commit that referenced this pull request Aug 26, 2026
…#16688)

* fix(windows): keep windows-process-tree gyp paths absolute under pnpm

Hourly Windows builds have failed since #16598 at
`build-windows-process-tree-relay-addon`: `require('node-addon-api').targets`
is cwd-relative, so node-gyp evaluates it from the pnpm store realpath and
then loads it from the `node_modules` symlink. That resolves
`node_addon_api.gyp` outside the repo.

Use `require.resolve` for an absolute path, matching the node-pty patch.

* i18n: keep ja skill-filter labels on the catalog's Agent brand

#16682 merged with a failing localization catalog: ja used エージェント
in three new skill-filter strings, and repair-locale-catalog rewrites
those to Agent. Match the rest of ja.json so static analysis can pass.
dallascrilley pushed a commit to dallascrilley/orca that referenced this pull request Aug 27, 2026
)

Extract hardcoded error messages and status labels from skill
installation components into the i18n system. Supports localized
UI for install flows in English, Spanish, Japanese, Korean, Chinese.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
dallascrilley pushed a commit to dallascrilley/orca that referenced this pull request Aug 27, 2026
…stablyai#16688)

* fix(windows): keep windows-process-tree gyp paths absolute under pnpm

Hourly Windows builds have failed since stablyai#16598 at
`build-windows-process-tree-relay-addon`: `require('node-addon-api').targets`
is cwd-relative, so node-gyp evaluates it from the pnpm store realpath and
then loads it from the `node_modules` symlink. That resolves
`node_addon_api.gyp` outside the repo.

Use `require.resolve` for an absolute path, matching the node-pty patch.

* i18n: keep ja skill-filter labels on the catalog's Agent brand

stablyai#16682 merged with a failing localization catalog: ja used エージェント
in three new skill-filter strings, and repair-locale-catalog rewrites
those to Agent. Match the rest of ja.json so static analysis can pass.
rahuljangirworks pushed a commit to rahuljangirworks/veer that referenced this pull request Aug 27, 2026
)

Extract hardcoded error messages and status labels from skill
installation components into the i18n system. Supports localized
UI for install flows in English, Spanish, Japanese, Korean, Chinese.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
rahuljangirworks pushed a commit to rahuljangirworks/veer that referenced this pull request Aug 27, 2026
…stablyai#16688)

* fix(windows): keep windows-process-tree gyp paths absolute under pnpm

Hourly Windows builds have failed since stablyai#16598 at
`build-windows-process-tree-relay-addon`: `require('node-addon-api').targets`
is cwd-relative, so node-gyp evaluates it from the pnpm store realpath and
then loads it from the `node_modules` symlink. That resolves
`node_addon_api.gyp` outside the repo.

Use `require.resolve` for an absolute path, matching the node-pty patch.

* i18n: keep ja skill-filter labels on the catalog's Agent brand

stablyai#16682 merged with a failing localization catalog: ja used エージェント
in three new skill-filter strings, and repair-locale-catalog rewrites
those to Agent. Match the rest of ja.json so static analysis can pass.
paidaxingyo666 pushed a commit to paidaxingyo666/Manta that referenced this pull request Aug 28, 2026
)

Extract hardcoded error messages and status labels from skill
installation components into the i18n system. Supports localized
UI for install flows in English, Spanish, Japanese, Korean, Chinese.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
(cherry picked from commit 7d5c7aa)
paidaxingyo666 pushed a commit to paidaxingyo666/Manta that referenced this pull request Aug 28, 2026
…stablyai#16688)

* fix(windows): keep windows-process-tree gyp paths absolute under pnpm

Hourly Windows builds have failed since stablyai#16598 at
`build-windows-process-tree-relay-addon`: `require('node-addon-api').targets`
is cwd-relative, so node-gyp evaluates it from the pnpm store realpath and
then loads it from the `node_modules` symlink. That resolves
`node_addon_api.gyp` outside the repo.

Use `require.resolve` for an absolute path, matching the node-pty patch.

* i18n: keep ja skill-filter labels on the catalog's Agent brand

stablyai#16682 merged with a failing localization catalog: ja used エージェント
in three new skill-filter strings, and repair-locale-catalog rewrites
those to Agent. Match the rest of ja.json so static analysis can pass.

(cherry picked from commit 0096e47)
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
)

Extract hardcoded error messages and status labels from skill
installation components into the i18n system. Supports localized
UI for install flows in English, Spanish, Japanese, Korean, Chinese.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…stablyai#16688)

* fix(windows): keep windows-process-tree gyp paths absolute under pnpm

Hourly Windows builds have failed since stablyai#16598 at
`build-windows-process-tree-relay-addon`: `require('node-addon-api').targets`
is cwd-relative, so node-gyp evaluates it from the pnpm store realpath and
then loads it from the `node_modules` symlink. That resolves
`node_addon_api.gyp` outside the repo.

Use `require.resolve` for an absolute path, matching the node-pty patch.

* i18n: keep ja skill-filter labels on the catalog's Agent brand

stablyai#16682 merged with a failing localization catalog: ja used エージェント
in three new skill-filter strings, and repair-locale-catalog rewrites
those to Agent. Match the rest of ja.json so static analysis can pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant