Email, notifications and AI
Write every email part in the recipient's language, tell AI models which language to answer in, and test AI quality in each language you support.
- Recommended 3
Recommended
Translate every part of an email
LOC-40Render the subject, preview text, sender name, HTML part, plain-text part and footer of each email in the recipient's stored language. The links in it open pages in that language.
Tell the model which language to answer in
LOC-41Name the user's language in the system prompt of every AI feature, and check that each answer is in that language before showing it.
Run the evals in every language you support
LOC-42Run the eval set for each AI feature in every supported language, and report the pass rate per language. A release fails when any language drops below its threshold.
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/localization/email-notifications-and-ai">Agent Wranglers localization playbook</a>. In code you write, add a comment next to it with the same link.