{"passport":{"unfragile":{"@version":"1.0","version":"2026-05","artifact":{"id":"vscode-intellsmi-comment-translate","slug":"comment-translate","name":"Comment Translate","type":"extension","url":"https://marketplace.visualstudio.com/items?itemName=intellsmi.comment-translate","page_url":"https://unfragile.ai/comment-translate","categories":["code-editors"],"tags":["chat-participant","comment","GitHub Copilot Chat Participant","google translate","hover","keybindings","translate","注释","翻訳","翻译"],"pricing":{"model":"freemium","free":true,"starting_price":null},"status":"active","verified":false},"capabilities":[{"id":"vscode-intellsmi-comment-translate__cap_0","uri":"capability://text.generation.language.hover.based.comment.and.string.translation","name":"hover-based comment and string translation","description":"Translates code comments, string literals, and documentation hints on-demand by intercepting VS Code's hover provider API. When a developer hovers over code elements, the extension tokenizes the text using TextMate grammar rules to identify comments and strings, sends them to a configurable translation service (Google Translate, Bing, DeepL, AliCloud), and displays the translated text in a hover tooltip without modifying the source file. This preserves the original code while providing immediate comprehension without context switching.","intents":["I need to understand a comment written in a language I don't speak without leaving the editor","I want to see what an error message or code hint says in my native language as I hover over it","I'm reading legacy code with non-English variable names and need quick translations of their purposes"],"best_for":["multilingual development teams working with codebases in non-native languages","solo developers learning from open-source projects written in foreign languages","teams maintaining legacy code with inconsistent comment languages"],"limitations":["Hover translation adds network latency per API call to translation service (typically 200-500ms depending on service)","Only translates content exposed through VS Code's hover provider API; cannot access inline comments without explicit hover","No caching mechanism documented, so repeated hovers over same text trigger duplicate API calls","Limited to single-file context; cannot resolve cross-file references or project-wide documentation"],"requires":["VS Code 1.50+ (minimum version not officially documented but inferred from extension API usage)","Active internet connection for translation service API calls","API key or authentication for selected translation service (configuration method not documented)"],"input_types":["code comments (single-line and block)","string literals","error messages from hover providers","code hints and documentation tooltips"],"output_types":["translated text displayed in VS Code hover tooltip","original text preserved in source file"],"categories":["text-generation-language","code-editors"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_1","uri":"capability://text.generation.language.immersive.in.document.translation.overlay","name":"immersive in-document translation overlay","description":"Toggles an overlay mode (via Ctrl+Shift+Z) that displays translations directly in the editor document alongside or replacing original comment and string text. The extension renders translated text as inline decorations using VS Code's decoration API, allowing developers to read translated content without hovering. A secondary toggle (Ctrl+Shift+B) switches between 'alongside' mode (original + translation side-by-side) and 'replace' mode (translation replaces original), with the display mode persisting across the current session.","intents":["I want to read translated comments continuously while reviewing code without repeatedly hovering","I need to see both original and translated text side-by-side to understand the context better","I prefer translated text to replace the original for cleaner reading when the original language is not useful to me"],"best_for":["developers doing deep code reviews of multilingual codebases","teams onboarding new members who don't speak the original comment language","developers learning from foreign-language open-source projects over extended sessions"],"limitations":["Immersive mode requires continuous API calls to translation service for every comment/string in the file, creating significant network overhead and potential rate-limiting issues","Display mode toggle (alongside vs replace) is session-only; preference does not persist across VS Code restarts","No granular control over which comments/strings are translated; toggles all or none in the file","Inline decorations may cause visual clutter in files with dense comments or long strings","Performance degrades on large files (1000+ comments) due to rendering overhead"],"requires":["VS Code 1.50+ (minimum version not officially documented)","Active internet connection for continuous translation API calls","Sufficient API quota with translation service to handle bulk translation of file contents"],"input_types":["all comments in current file","all string literals in current file","code hints and documentation"],"output_types":["inline decorations (translated text rendered in editor)","original source file remains unmodified"],"categories":["text-generation-language","automation-workflow"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_2","uri":"capability://code.generation.editing.command.palette.triggered.text.replacement.translation","name":"command-palette-triggered text replacement translation","description":"Provides a command palette command (accessible via Ctrl+Shift+?) that translates selected text in the editor and replaces it with the translated version in-place. The extension captures the user's text selection, sends it to the configured translation service, and writes the translated result back to the editor at the same location, modifying the source file. This enables one-off translations of specific code sections without toggling immersive mode.","intents":["I want to translate a specific comment or string and replace it in the file with the translated version","I need to quickly translate a selected code block without enabling full-file immersive mode","I'm refactoring code and want to translate variable names or comments as I go"],"best_for":["developers performing targeted code cleanup or refactoring in multilingual codebases","teams standardizing comment language across a project","individual developers translating specific sections of code they're actively modifying"],"limitations":["Modifies source file directly; no undo integration documented, requiring manual Ctrl+Z if translation is incorrect","Only operates on user-selected text; cannot batch-translate multiple selections in one operation","No preview of translation before replacement; developers must trust the translation service output","Selection-based approach is manual and does not scale to project-wide translation tasks","No validation that translated text is valid code (e.g., translating a variable name to a reserved keyword)"],"requires":["VS Code 1.50+ (minimum version not officially documented)","Active text selection in editor","Active internet connection for translation API call","API key or authentication for selected translation service"],"input_types":["user-selected text (any length)","comments","strings","variable names","documentation"],"output_types":["translated text written to editor at selection location","source file modified in-place"],"categories":["code-generation-editing","text-generation-language"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_3","uri":"capability://code.generation.editing.variable.naming.suggestion.with.translation","name":"variable naming suggestion with translation","description":"Provides a 'Translate Variable Naming' command that translates a selected variable name or description into multiple naming suggestions in the target language. The extension sends the original name/description to the translation service and generates alternative naming options (e.g., camelCase, snake_case, PascalCase variants) based on the translated result. Developers can then manually select and replace the original variable name with one of the suggestions.","intents":["I have a variable with a non-English name and want to rename it to a meaningful English name","I need to generate multiple naming options for a variable based on its translated description","I'm refactoring code to standardize variable naming conventions across a multilingual codebase"],"best_for":["developers standardizing variable naming in legacy codebases with mixed-language identifiers","teams establishing coding conventions that require English variable names","individual developers learning best practices for naming from non-English code"],"limitations":["Generates suggestions only; does not perform automatic refactoring across all usages of the variable","No integration with VS Code's rename refactoring tool; developers must manually replace each occurrence","Suggestions are based on translation output and may not follow language-specific naming conventions (e.g., Hungarian notation, domain-specific patterns)","No validation that suggested names are valid identifiers or not reserved keywords","Requires manual selection from multiple options; no AI-driven ranking of suggestions by relevance"],"requires":["VS Code 1.50+ (minimum version not officially documented)","Selected variable name or description text","Active internet connection for translation API call","API key or authentication for selected translation service"],"input_types":["variable name (any language)","variable description or comment explaining purpose"],"output_types":["list of naming suggestions in target language","multiple case variants (camelCase, snake_case, PascalCase, etc.)"],"categories":["code-generation-editing","text-generation-language"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_4","uri":"capability://text.generation.language.github.copilot.chat.integration.with.translate.participant","name":"github copilot chat integration with @translate participant","description":"Extends GitHub Copilot Chat with a `@translate` chat participant that allows developers to send selected code text to Copilot Chat for translation. The extension registers a custom chat participant that intercepts `@translate` mentions in Copilot Chat, passes the selected text to Copilot's AI model (not the configured translation service), and returns the translated result within the chat interface. This leverages Copilot's language understanding for context-aware translation rather than generic translation APIs.","intents":["I want to use GitHub Copilot's AI to translate code comments with better context understanding than generic translation services","I prefer to keep all my code assistance interactions in Copilot Chat, including translations","I need to translate code and ask follow-up questions about the translated content in the same chat session"],"best_for":["developers already using GitHub Copilot Chat as their primary code assistant","teams with GitHub Copilot subscriptions who want unified AI assistance","developers who value Copilot's contextual understanding over generic translation accuracy"],"limitations":["Requires GitHub Copilot Chat extension to be installed and authorized; adds dependency on separate extension","Currently limited to Chat box interface only; does not extend to hover tooltips or immersive mode","No direct comment/text translation via Copilot; must explicitly select text and invoke @translate in chat","Translation quality depends on Copilot's model and may differ from dedicated translation services","Copilot Chat integration is optional; developers without Copilot subscription cannot use this capability","No documented rate limits or quota management for Copilot Chat translations"],"requires":["GitHub Copilot Chat extension installed (separate from Comment Translate)","GitHub Copilot subscription or free trial","GitHub authentication and authorization","VS Code 1.50+ (minimum version not officially documented)"],"input_types":["selected text in editor","code comments","strings","variable names"],"output_types":["translated text displayed in Copilot Chat interface","chat conversation history with translation context"],"categories":["text-generation-language","tool-use-integration"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_5","uri":"capability://tool.use.integration.configurable.multi.service.translation.backend","name":"configurable multi-service translation backend","description":"Abstracts translation service selection through a configuration system that allows developers to choose between multiple translation providers (Google Translate, Bing Translator, AliCloud Translation, DeepL) and optionally configure custom translation services. The extension routes all translation requests through a service adapter pattern that normalizes API calls to different providers, allowing developers to switch services without changing their workflow. Configuration is managed through VS Code settings (specific setting names not documented).","intents":["I want to use DeepL instead of Google Translate because it has better quality for my language pair","I need to switch translation services based on API quota or cost constraints","I want to integrate a custom translation service or internal company translation API"],"best_for":["teams with specific translation service preferences or contracts","developers in regions where certain translation services have better coverage","organizations with internal translation APIs or compliance requirements"],"limitations":["API key configuration method not documented; unclear how to securely store credentials","Custom translation service integration details not documented; no schema or interface specification provided","No built-in service health checking or fallback mechanism if primary service is unavailable","Service-specific rate limits and quota management not documented","No cost tracking or usage analytics for different translation services","Switching services requires manual configuration change; no runtime service selection UI"],"requires":["VS Code 1.50+ (minimum version not officially documented)","API key or authentication credentials for selected translation service","Active internet connection to translation service endpoint","For custom services: documented API specification (not provided in extension documentation)"],"input_types":["translation service configuration (service name, API key, endpoint URL)","target language code"],"output_types":["service selection stored in VS Code settings","API requests routed to selected service"],"categories":["tool-use-integration","automation-workflow"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_6","uri":"capability://text.generation.language.markdown.document.translation.with.preview","name":"markdown document translation with preview","description":"Translates Markdown content in VS Code's Markdown preview pane, displaying translated text alongside or replacing the original Markdown source. The extension hooks into VS Code's Markdown preview rendering pipeline to intercept and translate Markdown text before display. Developers can toggle translation on/off in the preview pane without modifying the source Markdown file.","intents":["I want to read a README or documentation file written in another language without leaving VS Code","I need to review translated documentation in preview mode before committing changes","I'm reading foreign-language Markdown files and want to see translations in the preview pane"],"best_for":["developers reading foreign-language documentation or README files","teams maintaining multilingual documentation in Markdown","developers learning from foreign-language technical blogs or guides"],"limitations":["Preview-only mode; does not modify source Markdown file","Markdown syntax and formatting may be lost or corrupted during translation if translation service doesn't preserve markup","No caching of translated Markdown; each preview refresh triggers new API calls","Code blocks and inline code within Markdown may be incorrectly translated","No granular control over which sections of Markdown are translated (e.g., skip code blocks)"],"requires":["VS Code 1.50+ (minimum version not officially documented)","Markdown file open in editor","VS Code Markdown preview pane enabled","Active internet connection for translation API calls"],"input_types":["Markdown text (headings, paragraphs, lists)","inline code and code blocks (may be translated incorrectly)"],"output_types":["translated Markdown rendered in preview pane","source file remains unmodified"],"categories":["text-generation-language","automation-workflow"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_7","uri":"capability://automation.workflow.customizable.keybinding.shortcuts.for.translation.actions","name":"customizable keybinding shortcuts for translation actions","description":"Allows developers to customize keyboard shortcuts for all translation actions (hover translation, immersive mode toggle, text replacement, variable naming) through VS Code's keybindings configuration. Default keybindings are provided (Ctrl+Shift+?, Ctrl+Shift+Z, Ctrl+Shift+B), but developers can override them in their keybindings.json file to match their preferred workflow. The extension respects VS Code's keybinding precedence and conflict resolution.","intents":["I want to remap translation shortcuts to match my existing muscle memory from other tools","I need to avoid keybinding conflicts with other extensions I use","I want to create custom shortcuts for the translation actions I use most frequently"],"best_for":["power users who customize their VS Code environment extensively","developers switching from other editors with different keybinding conventions","teams standardizing keybindings across their development environment"],"limitations":["Keybinding configuration method not documented; developers must manually edit keybindings.json","No UI for keybinding customization; requires knowledge of VS Code keybindings.json format","No conflict detection or warnings if custom keybindings conflict with other extensions","Keybinding changes require VS Code reload to take effect","No per-workspace or per-project keybinding overrides documented"],"requires":["VS Code 1.50+ (minimum version not officially documented)","Access to VS Code keybindings.json configuration file","Knowledge of VS Code keybinding syntax"],"input_types":["keybinding configuration (key combination, command name)"],"output_types":["custom keyboard shortcuts mapped to translation commands"],"categories":["automation-workflow"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"vscode-intellsmi-comment-translate__cap_8","uri":"capability://text.generation.language.error.message.and.code.hint.translation.on.hover","name":"error message and code hint translation on hover","description":"Translates error messages, exception text, and code hints (documentation tooltips) that appear in VS Code's hover provider system. The extension intercepts hover events for code elements that trigger error messages or documentation hints, translates the hover text using the configured translation service, and displays the translated version in the hover tooltip. This enables developers to understand compiler errors, runtime exceptions, and API documentation in their native language without leaving the editor.","intents":["I need to understand a compiler error message written in English when I don't speak English fluently","I want to see what an API documentation hint says in my native language as I hover over a function","I'm debugging code and need to understand exception messages in my preferred language"],"best_for":["non-English-speaking developers working with English-language toolchains and libraries","teams with multilingual developers who need error messages in their native languages","developers learning from English-language frameworks and libraries"],"limitations":["Only translates content exposed through VS Code's hover provider API; cannot access errors in terminal or debug console","Hover translation adds network latency per API call (typically 200-500ms)","No caching of translated error messages; repeated hovers trigger duplicate API calls","Translation quality depends on translation service; technical error messages may be mistranslated","Cannot modify error messages in-place; only displays translations in hover tooltip"],"requires":["VS Code 1.50+ (minimum version not officially documented)","Language server or extension providing hover information (e.g., language-specific extension)","Active internet connection for translation API calls","API key or authentication for selected translation service"],"input_types":["error messages from language servers","exception text from debuggers","documentation hints from hover providers"],"output_types":["translated text displayed in hover tooltip","original error message preserved"],"categories":["text-generation-language","code-editors"],"confidence":0.5,"matches":0,"success_rate":0}],"trust":{"score":50,"verified":false,"data_access_risk":"high","permissions":["VS Code 1.50+ (minimum version not officially documented but inferred from extension API usage)","Active internet connection for translation service API calls","API key or authentication for selected translation service (configuration method not documented)","VS Code 1.50+ (minimum version not officially documented)","Active internet connection for continuous translation API calls","Sufficient API quota with translation service to handle bulk translation of file contents","Active text selection in editor","Active internet connection for translation API call","API key or authentication for selected translation service","Selected variable name or description text"],"failure_modes":["Hover translation adds network latency per API call to translation service (typically 200-500ms depending on service)","Only translates content exposed through VS Code's hover provider API; cannot access inline comments without explicit hover","No caching mechanism documented, so repeated hovers over same text trigger duplicate API calls","Limited to single-file context; cannot resolve cross-file references or project-wide documentation","Immersive mode requires continuous API calls to translation service for every comment/string in the file, creating significant network overhead and potential rate-limiting issues","Display mode toggle (alongside vs replace) is session-only; preference does not persist across VS Code restarts","No granular control over which comments/strings are translated; toggles all or none in the file","Inline decorations may cause visual clutter in files with dense comments or long strings","Performance degrades on large files (1000+ comments) due to rendering overhead","Modifies source file directly; no undo integration documented, requiring manual Ctrl+Z if translation is incorrect","builder identity is not verified yet","no observed match outcomes yet"],"rank_breakdown":{"adoption":0.76,"quality":0.43,"ecosystem":0.35000000000000003,"match_graph":0.25,"freshness":0.75,"weights":{"adoption":0.25,"quality":0.25,"ecosystem":0.15,"match_graph":0.23,"freshness":0.12}},"observed_outcomes":{"matches":0,"success_rate":0,"avg_confidence":0,"top_intents":[],"last_matched_at":null},"maintenance":{"status":"active","updated_at":"2026-05-24T12:16:34.803Z","last_scraped_at":"2026-05-03T15:20:32.168Z","last_commit":null},"community":{"stars":null,"forks":null,"weekly_downloads":null,"model_downloads":null,"model_likes":null}},"distribution":{"claim_url":"https://unfragile.ai/submit?claim=comment-translate","compare_url":"https://unfragile.ai/compare?artifact=comment-translate"}},"signature":"hSQhNNvkAOxr5k7NjuPwoYryR9JI3+i3S4dFOquIvhfO33QhDY7AbUJrJb/jl2OUmPYCAniXJXBpcpoW/Q6SCg==","signedAt":"2026-06-23T07:18:10.242Z","signedBy":"unfragile.ai","version":1},"_links":{"self":"https://unfragile.ai/api/v1/passport/comment-translate","artifact":"https://unfragile.ai/comment-translate","verify":"https://unfragile.ai/api/v1/verify?slug=comment-translate","publicKey":"https://unfragile.ai/api/v1/trust-passport-public-key","spec":"https://unfragile.ai/trust","schema":"https://unfragile.ai/schema.json","docs":"https://unfragile.ai/docs"}}