Skip to content

[Feature] Multiple endpoint support for DeepLX Translation Services #1339

@hirameki34

Description

@hirameki34

Is there an existing issue for this?

  • I have searched the existing issues

Environment

  • OS: Windows 11
  • Zotero Version: 7.0.16
  • Plugin Version: 2.3.14

Describe the feature request

Is your feature request related to a problem? Please describe.
I'm using the DeepLX translation backend, but sometimes a single endpoint may fail or respond slowly. Currently, Zotero PDF Translate only allows setting one DeepLX endpoint, which makes the translation process unreliable when that endpoint is unavailable.

Why do you need this feature?
Supporting multiple DeepLX endpoints (separated by commas) would improve reliability and load balancing. When one endpoint is down or too slow, the plugin could automatically switch to another, ensuring continuous translation without manual reconfiguration.

Describe the solution you'd like

The solution you'd like
Allow users to specify multiple DeepLX endpoints in the settings, separated by commas (e.g., http://deeplx1:1188, http://deeplx2:1188). The plugin should attempt requests in order, and automatically fall back to the next available endpoint when a failure or timeout occurs.

Alternatives you've considered
Manually editing the settings each time an endpoint becomes unavailable, or using an external load balancer or proxy in front of multiple DeepLX instances. However, these approaches are less convenient and require additional infrastructure compared to native multi-endpoint support.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions