fix(vscode): translate Anaconda Desktop provider strings in all locales - #11776
Merged
Conversation
markijbema
marked this pull request as ready for review
June 29, 2026 09:00
marius-kilocode
approved these changes
Jun 29, 2026
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (19 files)
Reviewed by gpt-5.4-20260305 · Input: 98.1K · Output: 11.6K · Cached: 623.9K Review guidance: REVIEW.md from base branch |
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
…anslations fix(vscode): translate Anaconda Desktop provider strings in all locales
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.
What changed
Each non-English webview locale now ships its own translated
anacondaDesktopDictfor the Anaconda Desktop provider, mirroring the construct inen.ts. Previously every other locale imported and spread the EnglishanacondaDesktopDictfrom./en, so all Anaconda Desktop strings (titles, statuses, state guidance, tool-support warning, actions, toasts) rendered in English regardless of the selected language.Why
PR #11714 added the Anaconda Desktop provider but only translated three keys per locale (
checkAgain,noServer_one,noServer_other) and left the remaining ~36 keys falling back to English via the shared import. This makes those strings actually localized.How
import { anacondaDesktopDict } from "./en"from the 14 locales that only used it for the spread, and dropped it from the import (keepingdict as en) in the 5 locales that also usedict as enfor theirKeystype (de,ko,no,zh,zht).export const anacondaDesktopDict = { ... } as constwith all 39 keys translated.checkAgain/noServer_one/noServer_otherstrings verbatim.Anaconda Desktop/Kiloproduct names and{{platform}}/{{count}}placeholders.en.tsis unchanged.Validation
bun test tests/unit/i18n-keys.test.tspasses (7/7).bun run formatclean.anacondaDesktopDict+...anacondaDesktopDictconstruct.