> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 文本翻译

## 指令说明

**描述：** 由八爪鱼AI引|警代理的OpenAI服务，实现对文本内容的多语言翻译

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/ai/images/translatecommand-10.jpg?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=888dc11b242d7762f2d92ca7968e013b" alt="文本翻译指令参数面板" width="640" height="626" data-path="helpcenter/commands/ai/images/translatecommand-10.jpg" />

    | 参数          | 说明                                                |
    | ----------- | ------------------------------------------------- |
    | **AI引擎**    | OpenA                                             |
    | **选择语言**    | 选择将文本内容翻译为何种语言。支持英语,日语,韩语,西班牙语,俄语,法语,德语,意大利语,葡萄牙语 |
    | **文本内容**    | 输入需要进行翻译的文本内容                                     |
    | **返回结果保存至** | 将翻译后的内容保存到变量                                      |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/ai/images/translatecommand-04.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=fe4c19407ab375b4fe85d4109220ad43" alt="文本翻译使用示例" width="650" height="532" data-path="helpcenter/commands/ai/images/translatecommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/ai/images/translatecommand-01.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=fde113c725fbd135c43124efad3f844c" alt="文本翻译使用示例" width="1205" height="157" data-path="helpcenter/commands/ai/images/translatecommand-01.png" />

**该流程执行逻辑：**

1. 选择 AI 引擎和目标语言，并输入待翻译文本。
2. 执行文本翻译，并将翻译结果保存到指定变量。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/ai/images/translatecommand-03.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=580b285dad2df344b8212a0a88b5fcac" alt="文本翻译效果展示" width="1190" height="226" data-path="helpcenter/commands/ai/images/translatecommand-03.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
