identity:
  name: translate
  author: Xiao Ley
  label:
    en_US: Translate
    zh_Hans: 百度翻译
description:
  human:
    en_US: A tool for Baidu Translate
    zh_Hans: 百度翻译
  llm: A tool for Baidu Translate
parameters:
  - name: q
    type: string
    required: true
    label:
      en_US: Text content
      zh_Hans: 文本内容
    human_description:
      en_US: Text content to be translated
      zh_Hans: 需要翻译的文本内容
    llm_description: Text content to be translated
    form: llm
  - name: from
    type: select
    required: true
    label:
      en_US: source language
      zh_Hans: 源语言
    human_description:
      en_US: The source language of the input text
      zh_Hans: 输入的文本的源语言
    default: auto
    form: form
    options:
      - value: auto
        label:
          en_US: auto
          zh_Hans: 自动检测
      - value: zh
        label:
          en_US: Chinese
          zh_Hans: 中文
      - value: en
        label:
          en_US: English
          zh_Hans: 英语
      - value: cht
        label:
          en_US: Traditional Chinese
          zh_Hans: 繁体中文
      - value: yue
        label:
          en_US: Yue
          zh_Hans: 粤语
      - value: wyw
        label:
          en_US: Wyw
          zh_Hans: 文言文
      - value: jp
        label:
          en_US: Japanese
          zh_Hans: 日语
      - value: kor
        label:
          en_US: Korean
          zh_Hans: 韩语
      - value: fra
        label:
          en_US: French
          zh_Hans: 法语
      - value: spa
        label:
          en_US: Spanish
          zh_Hans: 西班牙语
      - value: th
        label:
          en_US: Thai
          zh_Hans: 泰语
      - value: ara
        label:
          en_US: Arabic
          zh_Hans: 阿拉伯语
      - value: ru
        label:
          en_US: Russian
          zh_Hans: 俄语
      - value: pt
        label:
          en_US: Portuguese
          zh_Hans: 葡萄牙语
      - value: de
        label:
          en_US: German
          zh_Hans: 德语
      - value: it
        label:
          en_US: Italian
          zh_Hans: 意大利语
      - value: el
        label:
          en_US: Greek
          zh_Hans: 希腊语
      - value: nl
        label:
          en_US: Dutch
          zh_Hans: 荷兰语
      - value: pl
        label:
          en_US: Polish
          zh_Hans: 波兰语
      - value: bul
        label:
          en_US: Bulgarian
          zh_Hans: 保加利亚语
      - value: est
        label:
          en_US: Estonian
          zh_Hans: 爱沙尼亚语
      - value: dan
        label:
          en_US: Danish
          zh_Hans: 丹麦语
      - value: fin
        label:
          en_US: Finnish
          zh_Hans: 芬兰语
      - value: cs
        label:
          en_US: Czech
          zh_Hans: 捷克语
      - value: rom
        label:
          en_US: Romanian
          zh_Hans: 罗马尼亚语
      - value: slo
        label:
          en_US: Slovak
          zh_Hans: 斯洛文尼亚语
      - value: swe
        label:
          en_US: Swedish
          zh_Hans: 瑞典语
      - value: hu
        label:
          en_US: Hungarian
          zh_Hans: 匈牙利语
      - value: vie
        label:
          en_US: Vietnamese
          zh_Hans: 越南语
  - name: to
    type: select
    required: true
    label:
      en_US: destination language
      zh_Hans: 目标语言
    human_description:
      en_US: The destination language of the input text
      zh_Hans: 输入文本的目标语言
    default: en
    form: form
    options:
      - value: zh
        label:
          en_US: Chinese
          zh_Hans: 中文
      - value: en
        label:
          en_US: English
          zh_Hans: 英语
      - value: cht
        label:
          en_US: Traditional Chinese
          zh_Hans: 繁体中文
      - value: yue
        label:
          en_US: Yue
          zh_Hans: 粤语
      - value: wyw
        label:
          en_US: Wyw
          zh_Hans: 文言文
      - value: jp
        label:
          en_US: Japanese
          zh_Hans: 日语
      - value: kor
        label:
          en_US: Korean
          zh_Hans: 韩语
      - value: fra
        label:
          en_US: French
          zh_Hans: 法语
      - value: spa
        label:
          en_US: Spanish
          zh_Hans: 西班牙语
      - value: th
        label:
          en_US: Thai
          zh_Hans: 泰语
      - value: ara
        label:
          en_US: Arabic
          zh_Hans: 阿拉伯语
      - value: ru
        label:
          en_US: Russian
          zh_Hans: 俄语
      - value: pt
        label:
          en_US: Portuguese
          zh_Hans: 葡萄牙语
      - value: de
        label:
          en_US: German
          zh_Hans: 德语
      - value: it
        label:
          en_US: Italian
          zh_Hans: 意大利语
      - value: el
        label:
          en_US: Greek
          zh_Hans: 希腊语
      - value: nl
        label:
          en_US: Dutch
          zh_Hans: 荷兰语
      - value: pl
        label:
          en_US: Polish
          zh_Hans: 波兰语
      - value: bul
        label:
          en_US: Bulgarian
          zh_Hans: 保加利亚语
      - value: est
        label:
          en_US: Estonian
          zh_Hans: 爱沙尼亚语
      - value: dan
        label:
          en_US: Danish
          zh_Hans: 丹麦语
      - value: fin
        label:
          en_US: Finnish
          zh_Hans: 芬兰语
      - value: cs
        label:
          en_US: Czech
          zh_Hans: 捷克语
      - value: rom
        label:
          en_US: Romanian
          zh_Hans: 罗马尼亚语
      - value: slo
        label:
          en_US: Slovak
          zh_Hans: 斯洛文尼亚语
      - value: swe
        label:
          en_US: Swedish
          zh_Hans: 瑞典语
      - value: hu
        label:
          en_US: Hungarian
          zh_Hans: 匈牙利语
      - value: vie
        label:
          en_US: Vietnamese
          zh_Hans: 越南语
