Skip to content

docs: add context for MT (DeepL) section - #1129

Merged
dkrizan merged 3 commits into
mainfrom
Barush/deepl-context
Jul 20, 2026
Merged

docs: add context for MT (DeepL) section#1129
dkrizan merged 3 commits into
mainfrom
Barush/deepl-context

Conversation

@Barush

@Barush Barush commented Jul 15, 2026

Copy link
Copy Markdown
Member

What

Adds a new "Context for machine translations" section to the
Machine Translation page, placed between the providers list and
the Machine Translation Suggestions section.

The section explains that Tolgee sends the key description to
DeepL as context, shows a short disambiguation example and makes
clear there is nothing to configure.

Why

The feature shipped on June 8 but is not documented anywhere.
The Q2 newsletter announces it and will link to this section,
so readers who click through should find it described.

Tolgee passes the key description to DeepL as context when
machine translating. The docs did not mention this yet.

Adds a new section to the Machine Translation page covering
what is sent, how it improves short ambiguous strings and
that no configuration is needed.
@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for tolgee-docs ready!

Name Link
🔨 Latest commit 0127fc7
🔍 Latest deploy log https://app.netlify.com/projects/tolgee-docs/deploys/6a5e1b1a68ac520008af402d
😎 Deploy Preview https://deploy-preview-1129--tolgee-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Barush
Barush requested a review from dkrizan July 15, 2026 12:28

## Context for machine translations

When Tolgee requests a translation from DeepL, it also sends the key description as context. DeepL uses the description to choose the right meaning, tone and grammatical form of the translated text.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not only description, but nearby keys (+ translations) are sent as well.

added nearby keys (+ translations) into docs.
@dkrizan
dkrizan enabled auto-merge (squash) July 20, 2026 12:57
@dkrizan
dkrizan disabled auto-merge July 20, 2026 12:57
@dkrizan
dkrizan enabled auto-merge (squash) July 20, 2026 12:57
@dkrizan
dkrizan merged commit ff1c9a0 into main Jul 20, 2026
6 checks passed
@dkrizan
dkrizan deleted the Barush/deepl-context branch July 20, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants