跳至内容

除非您接受,否则可选的分析、会话录制和广告将保持关闭。您可以拒绝它们并继续使用 Transglot。随时可在 Cookie 偏好设置 中更改您的选择。 Cookie 政策

所有集成
规格说明 · 代码与设计

VS Code and Transglot, translations beside your code.

Install the extension, open your configured workspace, and sign in with a project token. See translations beside your source, find missing keys, and push or pull locale files from VS Code.

Source files and locale translations
方向
Source files and locale translations
套餐
Starter 及以上
范围
源文件、内联 JSON 翻译、缺失键诊断和区域设置下载
身份验证
存储在 VS Code SecretStorage 中的 Transglot 项目访问令牌
开始使用
Available on the VS Code Marketplace.

VS

代码与设计
Transglot VS Code extension showing real inline translations in an example project
Native VS Code capture using an example localization project.
工作流

连接您的内容。审阅所有语言版本。

一次连接,选择内容和语言,然后在同一项目中翻译和审阅。以下步骤展示了它如何在您的工具中运行。

  1. Connect your project

    Install Transglot from the Marketplace, then run Transglot: Sign In with your project access token.

    connect
  2. Inspect the source keys

    Open a configured JSON locale file to see CodeLens values, translated hovers and missing-key diagnostics.

    inspect
  3. Update the translations

    Edit a target translation or explicitly start an AI translation batch from the extension.

    翻译
  4. Push and pull the files

    Push source changes and pull translated locale files through the same project used by your CLI and CI.

    deliver
Inspect translations inline, edit a locale value, and pull locale files back into your workspace.
流动的内容

您可以翻译和交付的内容。

在您编写的代码旁进行翻译。检查区域设置值、查找缺失的翻译,并从 VS Code 推送或拉取数据。
您可以翻译和交付的内容。
界面预期效果
源内容与范围

源文件、内联 JSON 翻译、缺失键诊断和区域设置下载

翻译输出

Inspect translations inline, edit a locale value, and pull locale files back into your workspace.

注意事项

Inline translations and missing-key diagnostics support the JSON-family formats. File push, pull and AI batches support the wider Transglot format catalog.

建立连接

完成首次连接的几个步骤。

请按照下方您所用工具的 setup 指南操作:添加连接,选择要同步的内容,并使用少量内容进行测试。您的团队可以继续使用他们熟悉的工具。

所需准备

存储在 VS Code SecretStorage 中的 Transglot 项目访问令牌.

  • 一个已配置源语言和目标语言的 Transglot 项目。
  • 在连接设置中保存凭据,以便您的团队无需在文件之间复制密钥即可开展工作。
  • 托管 API 访问需要付费的 Transglot 套餐。AI 翻译将使用您工作区的字数额度。
  1. Install Transglot from the VS Code Marketplace, or run code --install-extension transglot.transglot.

  2. Open a trusted workspace with a transglot.json configuration for its source files and pull paths.

  3. Run Transglot: Sign In and enter the project token when prompted. The token is stored in SecretStorage, not in workspace settings.

  4. Open a configured locale file. Use the project tree and command palette to inspect, edit, push, translate or pull.

同一项目,更多可能

连接您工作流的其余部分。

当翻译内容在不同工具间流转时,它们始终保留在同一个项目中。

与您正在运行的工具协同工作

41 个连接器,已内置。

整合您的工作流

您的内容, 适配所有语言区域。

连接您的工具,与团队协作翻译,并发布经过审阅的内容。