docs: add context for MT (DeepL) section - #1129
Merged
Merged
Conversation
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.
✅ Deploy Preview for tolgee-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
dkrizan
reviewed
Jul 16, 2026
|
|
||
| ## 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. |
Member
There was a problem hiding this comment.
Not only description, but nearby keys (+ translations) are sent as well.
added nearby keys (+ translations) into docs.
dkrizan
approved these changes
Jul 20, 2026
dkrizan
enabled auto-merge (squash)
July 20, 2026 12:57
dkrizan
disabled auto-merge
July 20, 2026 12:57
dkrizan
enabled auto-merge (squash)
July 20, 2026 12:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.