[Feature] 自定义翻译服务时大模型的变量选择

Author: OrkadyCreated Aug 5, 2026Updated Sep 12, 2026
Labelsenhancementstale

Is there an existing issue for this?

  • I have searched the existing issues

Environment

  • OS: macOS 26.5.2
  • Zotero Version: 9.0.6
  • Plugin Version: 2.4.6

Describe the feature request

Is your feature request related to a problem? Please describe.

不与相关问题强关联,在插件设置翻译服务的时候,针对某个具体的大模型所提供的提示词当中,发现默认的 ChatGPT 服务已经包含了一些自定义变量,比如说:

  1. 源语言 ${langFrom}
  2. 翻译的目标语言 ${langTo}
  3. 源文本 ${sourceText}

原来的默认翻译提示词:

As an academic expert with specialized knowledge in various fields, please provide a proficient and precise translation from ${langFrom} to ${langTo} of the academic text enclosed in . It is crucial to maintaining the original phrase or sentence and ensure accuracy while utilizing the appropriate language. The text is as follows: ${sourceText} Please provide the translated result without any additional explanation and remove .

我想要确定的是,是否还有其他的可选变量进行设置?我想要自定义我的一个翻译结果格式。目前我没有找到相关文档,有介绍和说明具体的科旋变量的。

Why do you need this feature?

清晰自定义翻译结果格式

Describe the solution you'd like

The solution you'd like.

我想要知道是否还有其他的变量可以选择?如果有的话,请告诉我在哪里可以找到查询

Alternatives you've considered.

暂无

Anything else?

No response

Source: windingwind/zotero-pdf-translate