wowprompt

Email template translation that keeps merge tags and links intact

Translates transactional and marketing email templates while leaving merge tags, variables, links and code untouched, adjusting word order around variables so sentences stay grammatical. Use it before sending order, password, welcome or newsletter emails in a second language, so no customer receives a broken tag or a garbled greeting.

Translated email templates with every merge tag preserved, a check table counting tags in source and target, and notes on grammar around variables
The output this prompt produced, unedited.

The prompt

What to give

  • Source and target language: [e.g. English to Gujarati]
  • Templates: [paste subject line, preview text and body for each, with tags as they appear, e.g. {{first_name}}, %ORDER_ID%, [[link]]]
  • Tag syntax used: [e.g. double curly braces]
  • What each variable contains: [e.g. {{first_name}} is a first name, {{amount}} is a number with currency]
  • Subject line and preview text limits: [characters]
  • Tone and form of address: [e.g. polite plural form, or friendly singular]

Checklist for every template

  1. Every tag, link, HTML element and code fragment is copied exactly, character for character, never translated.
  2. The count of each tag in the target equals the source.
  3. Word order is changed around tags where the target grammar needs it, and case or gender endings are avoided where a variable value cannot be known.
  4. Greetings still read correctly if a name tag is empty; suggest a fallback value.
  5. Numbers, dates and currency follow the target locale only where the text is not a variable.
  6. Subject lines and preview text stay within their limits.
  7. Legal footer and unsubscribe lines are translated in full, never shortened.

Output format

  1. Each template translated, in the same layout as the source.
  2. | Template | Tag | Count in source | Count in target | Match |
  3. | Template | Sentence | Grammar change around a tag | Reason |
  4. Suggested fallback values for each tag that may be empty.

Guardrails

  • If a sentence cannot be grammatical with the tag where it is, rewrite the sentence, not the tag, and flag it.
  • Never merge or split tags, change their case, or add spaces inside them.
email template translationmerge tagsvariable placeholderstransactional email localisationmultilingual emailtranslation qa

How to run this

Copy the prompt and paste it into Gemini, then set the aspect ratio to 3:4. No reference photo is needed for this one.

The prompt is written in Markdown with each part under its own heading, which is what the copy action hands over. Change one section at a time, keeping the rest intact, so you can tell which change did the work.

Related prompts

All productivity