Pull requests
Feedback in a pull request
Mention @tolkbot in a pull request comment to correct translations, trigger retranslation, and teach the system for future accuracy.
How it works
When you mention @tolkbot in a PR comment, TolkBot:
- Acknowledges your feedback with a reaction
- Parses your comment using AI to understand the correction
- Takes action based on the type of feedback
- Replies with a confirmation
Feedback works in both conversation comments (on the PR's main thread) and review comments (inline on specific lines in the diff).
Feedback works only on a translation pull request TolkBot opened, while it is open. On any other pull request TolkBot doesn't respond. On a TolkBot pull request that has been merged or closed, nothing is retranslated.
Providing corrections
Full correction (recommended)
Provide the source text and your suggested translation. This creates a learning that TolkBot remembers for future translations.
@tolkbot "Submit" should be "Envoyer" not "Soumettre"
TolkBot will:
- Create a learning record for this correction
- Retranslate the affected key using the feedback
- Commit the updated translation to the PR
Flagging an incorrect translation
Name the translation that is wrong without providing an alternative. TolkBot will retranslate the key.
@tolkbot "Sasonbaserte" is not Norwegian
TolkBot will:
- Retranslate the key (the AI decides the new translation)
- Commit the result to the PR
Asking for a retranslation
Say in plain words what is wrong, without naming a word or giving a replacement. Leave this one as a review comment on the lines you mean, so TolkBot knows which strings to redo.
@tolkbot this sounds robotic, can you make it more natural?
TolkBot retranslates the commented string with your note in front of the model and commits the result. "These aren't translated" retranslates every string in the file that was left as the source. In a conversation comment, which points at no line, TolkBot asks you to comment on the lines instead.
Feedback in review comments
When you leave feedback as an inline review comment on a specific line in the diff, TolkBot has additional context from the diff hunk. This helps it identify the exact key to retranslate, even without you specifying the source text.
Learnings
When you provide a full correction (with source text and suggested translation), TolkBot creates a learning record. Learnings are:
- Used in later translations into the same language
- Kept with the project the pull request belongs to, on its Context → Learnings page
- Listed on the organization's Context → Learnings tab, alongside the learnings of other projects
A learning from one project is not used when translating another.
Read more about learnings.
Help message
If TolkBot can't understand your feedback, it replies with a help message showing the expected feedback format.
Examples
Conversation comment
@tolkbot "Dashboard" should be translated as "Tableau de bord" in French,
not "Panneau de controle"
Review comment (inline on diff)
@tolkbot this should be "Einstellungen" not "Optionen"
Retranslation request (inline on diff)
@tolkbot redo this one, it's too formal