开发者
tranzly 功能参考
tranzly 将其操作注册到 WordPress Abilities API。这些能力既是该网站自身服务器上的 MCP 工具,也是 /wp-json/wp-abilities/v1 下的 REST 路由。此页面由该插件自身的注册表生成。
服务端点
通过 HTTP 的 MCP(可流式传输)
https://example.com/wp-json/tranzly/v1/mcp通过 WP-CLI 的 MCP(标准输入和输出)
wp mcp-adapter serve --server=tranzly --user=<login>REST:列出功能
/wp-json/wp-abilities/v1/abilities?category=tranzlyREST:运行能力
/wp-json/wp-abilities/v1/abilities/<name>/run身份验证和权限
HTTP 请求使用 WordPress 应用程序密码(HTTP Basic)进行身份验证。连接到 MCP 服务器需要具备下方显示的权限;然后每个功能会根据每个对象检查其自身的权限。只读功能使用 GET 运行,其输入位于查询字符串中;其他功能使用 POST 和 JSON 主体 {"input": {…}} 运行。
示例
# REST:运行能力
curl -u your-username:your-application-password \
"https://example.com/wp-json/wp-abilities/v1/abilities/tranzly/get-comments-setting/run"# MCP (JSON-RPC over HTTP, after "initialize")
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"tranzly-get-comments-setting","arguments":{}}}所有功能
由插件的 abilities.json 生成,该文件本身由运行中的站点生成;当两者不一致时测试将失败。
| 权限 | 其功能 | 版本 | 剩余 | 权限 | 参数 |
|---|---|---|---|---|---|
tranzly/bulk-translatetranzly-bulk-translate | 翻译整个网站 为给定内容类型的每个原文启动后台翻译作业(若未给定则为所有已翻译类型):缺失的翻译、过期的翻译或所有翻译。返回已启动的作业,每种语言一个。 | 专业版 | POST …/abilities/tranzly/bulk-translate/run | edit_posts; publish_posts to publish | languages: array (必填), post_types: array, scope: missing|stale|all, engine: string, publish: boolean |
tranzly/cancel-jobtranzly-cancel-job | 取消任务 停止作业;已完成的翻译将会保留。 | 免费版 | POST …/abilities/tranzly/cancel-job/run | manage_options (the REST route's own check) | id: string (必填) |
tranzly/check-qualitytranzly-check-quality | 使用 AI 检查翻译 让AI将一种译文与原文进行对比并打分,然后将关于该译文的报告存储起来。使用Tranzly工作流设置中配置的质量检查AI模型。 | 专业版 | POST …/abilities/tranzly/check-quality/run | edit_post on that translation | id: integer (必填) |
tranzly/connect-supporttranzly-connect-support | 联系客服 将此站点连接到 Zinn Digital® 支持(姓名、电子邮件、同意)。 | 免费版 | POST …/abilities/tranzly/connect-support/run | manage_options (the REST route's own check) | email: string (必填), name: string, consent: boolean (必填) |
tranzly/correct-segmentstranzly-correct-segments | 更正翻译 保存翻译的已校正片段(片段:键到文本);已校正的文本受到保护,不会被重新翻译。 | 免费版 | POST …/abilities/tranzly/correct-segments/run | edit_post (the REST route's own check) | id: string (必填), segments: object (必填) |
tranzly/create-jobtranzly-create-job | 开始翻译任务 启动后台作业,将列出的文章 (posts) 或整个文章类型翻译成目标语言 (langs)。 | 免费版 | POST …/abilities/tranzly/create-job/run | edit_posts (the REST route's own check) | posts: array, post_type: string, langs: array (必填), engine: string, status: publish|draft, force: boolean |
tranzly/create-post-translationtranzly-create-post-translation | 创建空白翻译 为手动编写创建文章在某种语言 (lang) 中的草稿翻译,不使用机器引擎。 | 免费版 | POST …/abilities/tranzly/create-post-translation/run | the REST route's own per-item permission check | id: string (必填), lang: string (必填), name: string, slug: string, description: string |
tranzly/create-term-translationtranzly-create-term-translation | 手动创建术语翻译 使用您提供的名称、别名和描述,为某个术语创建一种语言的翻译。 | 免费版 | POST …/abilities/tranzly/create-term-translation/run | the REST route's own per-item permission check | id: string (必填), lang: string (必填), name: string, slug: string, description: string |
tranzly/disconnect-supporttranzly-disconnect-support | 断开与支持的连接 取消此网站与支持服务的连接。 | 免费版 | POST …/abilities/tranzly/disconnect-support/run | manage_options (the REST route's own check) | 无 |
tranzly/estimatetranzly-estimate | 估计翻译 在不花費任何費用的情況下,使用引擎估算將貼文(posts 或 post_type)翻譯成各語言(langs)所需的字元數與成本。 | 免费版 | POST …/abilities/tranzly/estimate/run | edit_posts (the REST route's own check) | posts: array, post_type: string, langs: array (必填), engine: string |
tranzly/estimate-bulktranzly-estimate-bulk | 估算网站翻译(Pro版) 在开始整站翻译(文章类型、范围、引擎)之前,估算某种语言的翻译量。 | 专业版 | POST …/abilities/tranzly/estimate-bulk/run | edit_posts (the REST route's own check) | post_types: array, scope: missing|stale|all, engine: string, lang: string (必填), after: integer |
tranzly/export-translation-filetranzly-export-translation-file | 导出供人工翻译的文件 返回包含原文和某一语言译文的 XLIFF 或 CSV 文件(以文本形式),供译者或翻译机构使用:指定的文章,或某内容类型在某一状态下(缺失、过时、已翻译或全部;使用 after 参数重复)最多 100 个原文的分页。可通过 tranzly/upload-translation-file 将其重新导入。 | 专业版 | GET …/abilities/tranzly/export-translation-file/run | edit_posts; each post is included only if the user may edit it | lang: string (必填), format: xliff|csv, posts: array, post_type: string, state: all|missing|stale|translated, after: integer |
tranzly/fix-statustranzly-fix-status | 翻译缺失的内容 对语言和文章类型中每个缺失(或过时)的项目进行队列翻译。 | 免费版 | POST …/abilities/tranzly/fix-status/run | edit_posts (the REST route's own check) | post_type: string, lang: string (必填), state: missing|stale|quality (必填) |
tranzly/get-comments-settingtranzly-get-comments-setting | 阅读评论处理 (Pro) 返回评论是跨语言共享还是按语言独立保留。 | 专业版 | GET …/abilities/tranzly/get-comments-setting/run | moderate_comments (the REST route's own check) | 无 |
tranzly/get-deepl-usagetranzly-get-deepl-usage | 阅读 DeepL 使用量 返回本月已使用的字符数以及已保存的 DeepL 密钥额度。 | 免费版 | GET …/abilities/tranzly/get-deepl-usage/run | manage_options (the REST route's own check) | 无 |
tranzly/get-diagnosticstranzly-get-diagnostics | 读取网站诊断 返回支持工单包含的诊断信息:版本、激活的插件、限制以及最近的错误。 | 免费版 | GET …/abilities/tranzly/get-diagnostics/run | manage_options (the REST route's own check) | 无 |
tranzly/get-displaytranzly-get-display | 阅读显示选项 返回语言切换器和页脚版权显示选项。 | 免费版 | GET …/abilities/tranzly/get-display/run | manage_options (the REST route's own check) | 无 |
tranzly/get-engine-settingstranzly-get-engine-settings | 读取引擎设置 返回默认和备用引擎、按语言配置的引擎、各个引擎的状态以及本月的消费金额。 | 免费版 | GET …/abilities/tranzly/get-engine-settings/run | manage_options (the REST route's own check) | 无 |
tranzly/get-glossarytranzly-get-glossary | 阅读词汇表 返回从未翻译的词语、固定术语翻译以及每种语言的语调。 | 专业版 | GET …/abilities/tranzly/get-glossary/run | manage_options | 无 |
tranzly/get-integrationstranzly-get-integrations | 查看集成 列出 Tranzly 支持且当前处于活动状态的 SEO、WooCommerce、页面构建器和表单插件。 | 免费版 | GET …/abilities/tranzly/get-integrations/run | manage_options (the REST route's own check) | 无 |
tranzly/get-jobtranzly-get-job | 读取作业进度 返回单个任务的进度和计数。 | 免费版 | GET …/abilities/tranzly/get-job/run | manage_options (the REST route's own check) | id: string (必填) |
tranzly/get-job-failurestranzly-get-job-failures | 读取作业失败信息 列出作业中失败的项目以及各自的原因。 | 免费版 | GET …/abilities/tranzly/get-job-failures/run | manage_options (the REST route's own check) | id: string (必填) |
tranzly/get-legacy-importtranzly-get-legacy-import | 读取 Tranzly 2.x 导入 返回从 Tranzly 2.x 导入翻译的状态和报告。 | 免费版 | GET …/abilities/tranzly/get-legacy-import/run | manage_options (the REST route's own check) | 无 |
tranzly/get-licencetranzly-get-licence | 查看许可协议 返回此网站的 Tranzly 计划、许可证状态、续订日期以及该计划包含的内容。 | 免费版 | GET …/abilities/tranzly/get-licence/run | manage_options (the REST route's own check) | 无 |
tranzly/get-menustranzly-get-menus | 按语言读取菜单 返回每种语言在各个菜单位置中显示的菜单。 | 免费版 | GET …/abilities/tranzly/get-menus/run | edit_theme_options (the REST route's own check) | 无 |
tranzly/get-post-grouptranzly-get-post-group | 读取文章的翻译 列出文章的翻译组:每个语言的成员及其标题、状态和编辑链接。 | 免费版 | GET …/abilities/tranzly/get-post-group/run | edit_post and edit_term (the REST route's own check) | id: string (必填) |
tranzly/get-quality-reporttranzly-get-quality-report | 阅读质量报告 (Pro) 返回翻译的 AI 质量报告:评分以及被标记的片段。 | 专业版 | GET …/abilities/tranzly/get-quality-report/run | edit_post (the REST route's own check) | id: string (必填) |
tranzly/get-segmentstranzly-get-segments | 对照阅读译文 返回翻译的片段以及原文片段,供审阅和修正。 | 免费版 | GET …/abilities/tranzly/get-segments/run | edit_post (the REST route's own check) | id: string (必填) |
tranzly/get-shared-stringstranzly-get-shared-strings | 读取主题和插件文本 返回主题和插件的文本(范围)及其对应语言的翻译。 | 免费版 | GET …/abilities/tranzly/get-shared-strings/run | edit_theme_options (the REST route's own check) | lang: string (必填), scope: menus|site|templates|gettext.theme-twentytwentyfive|gettext.plugin-page-builder-sandwich|gettext.plugin-tranzly |
tranzly/get-site-stringstranzly-get-site-strings | 阅读网站的各种语言文本 返回指定语言的网站标题、副标题和小组件文本。 | 免费版 | GET …/abilities/tranzly/get-site-strings/run | manage_options (the REST route's own check) | lang: string (必填) |
tranzly/get-support-connectiontranzly-get-support-connection | 读取支持连接 指示此网站是否已连接到 Zinn Digital® 支持,以及连接的身份。 | 免费版 | GET …/abilities/tranzly/get-support-connection/run | manage_options (the REST route's own check) | refresh: boolean |
tranzly/get-term-grouptranzly-get-term-group | 读取术语的翻译 列出分类或标签的翻译组。 | 免费版 | GET …/abilities/tranzly/get-term-group/run | edit_post and edit_term (the REST route's own check) | id: string (必填) |
tranzly/get-urlstranzly-get-urls | 读取地址设置 返回语言在网址(文件夹、子域名或域名)中的显示方式、已翻译的别名和基础路径,以及对未翻译页面的 noindex 设置。 | 免费版 | GET …/abilities/tranzly/get-urls/run | manage_options (the REST route's own check) | 无 |
tranzly/get-workflow-settingstranzly-get-workflow-settings | 读取工作流设置 (Pro) 返回发布时和更新时的自动翻译、发布前审核,以及AI质量检查的阈值、提供商和模型。 | 专业版 | GET …/abilities/tranzly/get-workflow-settings/run | manage_options (the REST route's own check) | 无 |
tranzly/import-from-sourcetranzly-import-from-source | 从 WPML、Polylang 或 TranslatePress (Pro) 迁移 导入来自另一个多语言插件的下一页翻译(模式:预演或运行;光标)。 | 专业版 | POST …/abilities/tranzly/import-from-source/run | manage_options (the REST route's own check) | source: string (必填), mode: dry-run|run|undo, cursor: string |
tranzly/import-translation-filetranzly-import-translation-file | 写入导入的文件 (Pro) 写入来自上传的翻译文件的下一页文章(重复使用 after 直到完成)。 | 专业版 | POST …/abilities/tranzly/import-translation-file/run | edit_posts (the REST route's own check) | token: string (必填), after: integer |
tranzly/link-posttranzly-link-post | 将现有文章关联为翻译 将现有文章(目标文章)设为该文章某种语言的翻译。 | 免费版 | POST …/abilities/tranzly/link-post/run | edit_post and edit_term (the REST route's own check) | id: string (必填), lang: string (必填), target: integer (必填) |
tranzly/link-termtranzly-link-term | 将现有术语关联为翻译 使现有术语(目标)成为该术语在某种语言中的翻译。 | 免费版 | POST …/abilities/tranzly/link-term/run | edit_post and edit_term (the REST route's own check) | id: string (必填), lang: string (必填), target: integer (必填) |
tranzly/list-enginestranzly-list-engines | 列出翻译引擎 列出翻译引擎、各自是否已设置,以及在未指定名称时使用哪一个。 | 免费版 | GET …/abilities/tranzly/list-engines/run | edit_posts | 无 |
tranzly/list-import-sourcestranzly-list-import-sources | 列出要迁移的插件 (Pro) 列出此网站上找到可导入的 WPML、Polylang 和 TranslatePress 数据。 | 专业版 | GET …/abilities/tranzly/list-import-sources/run | manage_options (the REST route's own check) | 无 |
tranzly/list-jobstranzly-list-jobs | 列出翻译任务 列出后台翻译任务,按最新排序,并显示进度。 | 免费版 | GET …/abilities/tranzly/list-jobs/run | edit_posts (the REST route's own check) | 无 |
tranzly/list-languagestranzly-list-languages | 列出语言 列出该网站的语言。第一个是编写原始内容时所使用的语言。 | 免费版 | GET …/abilities/tranzly/list-languages/run | edit_posts | 无 |
tranzly/list-status-itemstranzly-list-status-items | 列出缺失或过期的内容 按页列出原文及其在某个语言中的翻译状态(状态:缺失、已过期、最新)。 | 免费版 | GET …/abilities/tranzly/list-status-items/run | edit_posts (the REST route's own check) | post_type: string, lang: string (必填), state: all|missing|stale|translated|human|machine|review|quality, after: integer |
tranzly/list-support-accesstranzly-list-support-access | 列出临时支持登录名 列出授予我们团队的临时支持用户以及各自的过期时间。 | 免费版 | GET …/abilities/tranzly/list-support-access/run | manage_options (the REST route's own check) | 无 |
tranzly/list-theme-stringstranzly-list-theme-strings | 列出主题和插件文本源 (Pro) 列出可扫描其文本以进行翻译的主题和插件,以及各自包含多少个字符串。 | 专业版 | GET …/abilities/tranzly/list-theme-strings/run | manage_options (the REST route's own check) | 无 |
tranzly/open-support-tickettranzly-open-support-ticket | 提交支持工单 使用此网站的诊断信息提交支持工单(主题、消息、类型、电子邮件);access_days 和 credentials 可选地授予我们团队临时访问权限。 | 免费版 | POST …/abilities/tranzly/open-support-ticket/run | manage_options (the REST route's own check) | 无 |
tranzly/record-support-consenttranzly-record-support-consent | 同意支持诊断 记录管理员同意在提交支持工单时发送诊断信息。 | 免费版 | POST …/abilities/tranzly/record-support-consent/run | manage_options (the REST route's own check) | 无 |
tranzly/retry-job-itemtranzly-retry-job-item | 重试或转接失败的项目 重试失败的项目(操作:retry,可选使用其他引擎)或将其标记为人工翻译(操作:by-hand)。 | 免费版 | POST …/abilities/tranzly/retry-job-item/run | edit_post and manage_options (the REST route's own check) | item: string (必填), action: string (必填), engine: string |
tranzly/review-translationtranzly-review-translation | 批准或拒绝翻译 (Pro) 批准翻译(并在原文发布时将其发布)或将其退回(决定、备注)。 | 专业版 | POST …/abilities/tranzly/review-translation/run | edit_post (the REST route's own check) | id: string (必填), decision: approve|changes|pending (必填), note: string |
tranzly/revoke-support-accesstranzly-revoke-support-access | 撤销临时技术支持登录权限 立即移除临时支持用户 (ids)。 | 免费版 | POST …/abilities/tranzly/revoke-support-access/run | manage_options (the REST route's own check) | ids: array (必填) |
tranzly/run-legacy-importtranzly-run-legacy-import | 导入 Tranzly 2.x 翻译 运行 2.x 导入:预演(仅报告)、运行或撤销。 | 免费版 | POST …/abilities/tranzly/run-legacy-import/run | manage_options (the REST route's own check) | action: string (必填) |
tranzly/scan-theme-stringstranzly-scan-theme-strings | 扫描主题或插件中的文本 (Pro) 扫描组件 PHP 文件的下一页以查找可翻译文本(重复此操作直至完成)。 | 专业版 | POST …/abilities/tranzly/scan-theme-strings/run | manage_options (the REST route's own check) | component: string (必填), after: integer |
tranzly/schedule-quality-checktranzly-schedule-quality-check | 使用 AI 检查翻译 (Pro) 安排对某语言翻译的下一页(或指定文章)进行 AI 质量检查。 | 专业版 | POST …/abilities/tranzly/schedule-quality-check/run | edit_posts (the REST route's own check) | lang: string (必填), post_type: string, posts: array, after: integer |
tranzly/seo-audittranzly-seo-audit | 多语言 SEO 审计 (Pro) 检查翻译中是否缺少指定语言的 SEO 标题、描述、别名和 hreflang,逐页进行。 | 专业版 | GET …/abilities/tranzly/seo-audit/run | manage_options (the REST route's own check) | lang: string (必填), after: integer |
tranzly/set-comments-settingtranzly-set-comments-setting | 更改评论处理 (Pro) 在帖子的不同语言版本之间共享评论,或针对每种语言单独保留评论(模式)。 | 专业版 | POST …/abilities/tranzly/set-comments-setting/run | manage_options and moderate_comments (the REST route's own check) | mode: off|show|translate (必填) |
tranzly/set-engine-keytranzly-set-engine-key | 保存引擎密钥 保存 DeepL、Google 或 Microsoft 的 API 密钥(以及 Microsoft 的区域);留空则表示删除。密钥采用加密方式存储,且绝不会返回。 | 免费版 | POST …/abilities/tranzly/set-engine-key/run | manage_options (the REST route's own check) | engine: string (必填), key: string (必填), region: string |
tranzly/set-menustranzly-set-menus | 按语言设置菜单 为每种语言的每个位置(地图)分配一个菜单。 | 免费版 | POST …/abilities/tranzly/set-menus/run | edit_theme_options (the REST route's own check) | map: object (必填) |
tranzly/set-protectiontranzly-set-protection | 保护或解锁翻译 保护翻译不被引擎覆盖(protected: true),或将其解锁。 | 免费版 | POST …/abilities/tranzly/set-protection/run | edit_post (the REST route's own check) | id: string (必填), protected: boolean (必填) |
tranzly/set-shared-stringstranzly-set-shared-strings | 纠正主题和插件文本 保存主题和插件文本(字符串)的已更正翻译;它们将受到保护。 | 免费版 | POST …/abilities/tranzly/set-shared-strings/run | edit_theme_options (the REST route's own check) | lang: string (必填), scope: menus|site|templates|gettext.theme-twentytwentyfive|gettext.plugin-page-builder-sandwich|gettext.plugin-tranzly, strings: object (必填) |
tranzly/set-site-stringtranzly-set-site-string | 翻译网站文本 保存某种语言的一个站点文本(键),例如站点标题或标语。 | 免费版 | POST …/abilities/tranzly/set-site-string/run | edit_theme_options and manage_options (the REST route's own check) | lang: string (必填), key: string (必填), translation: string (必填) |
tranzly/set-urlstranzly-set-urls | 更改地址设置 设置地址模式(mode)、多语言域名、翻译的基础路径与片段、noindex_untranslated 和 slug 建议。 | 免费版 | POST …/abilities/tranzly/set-urls/run | manage_options (the REST route's own check) | mode: string, segments: object, domains: object, bases: object, suggest: boolean, noindex_untranslated: boolean |
tranzly/start-trialtranzly-start-trial | 开始免费 Pro 试用 为此网站开启 14 天 Tranzly Pro 试用(无需付款)。 | 免费版 | POST …/abilities/tranzly/start-trial/run | manage_options (the REST route's own check) | 无 |
tranzly/translate-media-fieldtranzly-translate-media-field | 翻译图像中的文字 保存图像的替代文本、标题或说明(字段)到指定的语言(lang)中。 | 免费版 | POST …/abilities/tranzly/translate-media-field/run | edit_post (the REST route's own check) | id: string (必填), lang: string (必填), field: alt|caption|title (必填), translation: string (必填) |
tranzly/translate-posttranzly-translate-post | 翻译文章或页面 使用翻译引擎将一篇发布或页面翻译成网站的一种或多种语言,以创建或更新每项翻译。新翻译默认为草稿,除非 publish 为 true。人工编辑过的翻译将被跳过,除非 force 为 true。 | 免费版 | POST …/abilities/tranzly/translate-post/run | may translate that post (edit_post on it); edit_post on an existing translation; the type's publish capability to publish | id: integer (必填), languages: array (必填), engine: string, publish: boolean, force: boolean |
tranzly/translate-shared-stringstranzly-translate-shared-strings | 翻译缺失的主题和插件文本 使用默认引擎翻译语言中下一页未翻译的主题和插件文本(重复此操作直至完成)。 | 免费版 | POST …/abilities/tranzly/translate-shared-strings/run | edit_theme_options (the REST route's own check) | lang: string (必填), scope: menus|site|templates|gettext.theme-twentytwentyfive|gettext.plugin-page-builder-sandwich|gettext.plugin-tranzly, after: integer |
tranzly/translate-sitetranzly-translate-site | 翻译我的网站 引导式工作流:代理会检查语言和引擎、预估费用并翻译缺失的内容,在消费或发布之前会先征求您的同意。 | 免费版 | POST …/abilities/tranzly/translate-site/run | edit_posts | languages: string (必填) |
tranzly/translate-termtranzly-translate-term | 翻译分类或标签 使用引擎将一个术语(分类、标签或产品属性)翻译成某种语言 (lang),以创建或更新其翻译。 | 免费版 | POST …/abilities/tranzly/translate-term/run | the REST route's own per-item permission check | id: string (必填), lang: string (必填), engine: string, force: boolean, status: publish|draft |
tranzly/translation-statustranzly-translation-status | 翻译状态 若提供文章 ID:该文章各语言版本的翻译、其是否已过时以及作者是谁。若未提供:按语言划分的网站翻译进度。 | 免费版 | GET …/abilities/tranzly/translation-status/run | edit_post on that post; edit_posts for the site summary | id: integer, post_type: string |
tranzly/unlink-posttranzly-unlink-post | 取消文章与翻译的关联 将文章移出其翻译组;它将保留其当前的语言。 | 免费版 | POST …/abilities/tranzly/unlink-post/run | edit_post and edit_term (the REST route's own check) | id: string (必填) |
tranzly/unlink-termtranzly-unlink-term | 取消术语与译文的关联 将一个术语从其翻译组中移除。 | 免费版 | POST …/abilities/tranzly/unlink-term/run | edit_post and edit_term (the REST route's own check) | id: string (必填) |
tranzly/update-displaytranzly-update-display | 更改显示选项 更改切换器(样式、国旗、名称、位置)和版权行。 | 免费版 | POST …/abilities/tranzly/update-display/run | manage_options (the REST route's own check) | switcher: object, credit: boolean |
tranzly/update-engine-settingstranzly-update-engine-settings | 更改引擎设置 设置默认引擎、备用引擎和各语言引擎(default、fallback、per_lang)。各语言引擎和备用引擎功能仅限 Pro 版使用。 | 免费版 | POST …/abilities/tranzly/update-engine-settings/run | manage_options (the REST route's own check) | 无 |
tranzly/update-glossarytranzly-update-glossary | 更新词汇表 替换您发送的词汇表部分(从未翻译的单词、术语翻译、语调);未提及的部分将保留。从下一次翻译开始,所有引擎都将使用此设置。 | 专业版 | POST …/abilities/tranzly/update-glossary/run | manage_options | dnt: array, terms: object, tone: object |
tranzly/update-settingstranzly-update-settings | 更改语言和设置 设置网站的语言(languages:包含代码和名称的列表;第一个为原始语言)、前端类前缀,以及是否允许 AI 代理(MCP)。 | 免费版 | POST …/abilities/tranzly/update-settings/run | manage_options (the REST route's own check) | prefix: string, mcp: boolean, languages: array |
tranzly/update-workflow-settingstranzly-update-workflow-settings | 更改工作流设置 (Pro) 设置 on_update(off、stale、translate)、on_publish、review、quality_threshold、quality_provider 和 quality_model。 | 专业版 | POST …/abilities/tranzly/update-workflow-settings/run | manage_options (the REST route's own check) | 无 |
tranzly/upload-translation-filetranzly-upload-translation-file | 导入翻译好的文件 (Pro) 上传在其他地方翻译的 Tranzly XLIFF 或 CSV 文件(内容、文件名);返回 tranzly/import-translation-file 的令牌。 | 专业版 | POST …/abilities/tranzly/upload-translation-file/run | edit_posts (the REST route's own check) | 无 |