LibreTranslate / LibreTranslate/LTEngine

API compatiblity on `q`

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

possible bug
Dominant language
Rust
Stars
197
Forks
32
Avg merge
15h 37m
Merged PRs (30d)
1

Description

In LibreTranslate the q parameter is one of string or array[string], but LTEngine seems to support only one string; see https://docs.libretranslate.com/api/operations/translate/

Either this divergence should be clearly documented or fixed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the LibreTranslate-compatible translation API handles the q parameter, then compare that behavior with the linked LibreTranslate API documentation. Decide whether LTEngine should accept array[string] or clearly document its string-only behavior; done means the chosen compatibility expectation is implemented or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.