LibreTranslate / LibreTranslate/LTEngine

Split by lines

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Add support for sentence splitting. Currently text is sent to the LLM as-is, but longer texts (like documents) should be split into chunks, translated and merged back.

I propose to do what DeepL (or even Google Translate) does - break it down into lines. They translate each line separately, and if you send 20 lines for translation, you will always have 20 lines as a result.

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 where input text is sent to the LLM and where the translated result is assembled; the payload does not name specific files or tests. The change is complete when longer text can be split into lines or chunks, each part translated, and the output preserves the input line count and order.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.