---
url: "/emailify/localization/gemini.md"
description: "Use Gemini inside Emailify with either direct API translation or manual CSV prompts to localize your email frames in Figma."
---

# Translating your email designs with Gemini

> Use Gemini inside Emailify with either direct API translation or manual CSV prompts to localize your email frames in Figma.

Emailify supports Gemini in two ways:

- **Gemini API** for automated translation and import inside the plugin.
- **Gemini Prompt** for a manual copy and paste workflow using the Gemini app.

[Video](/assets/videos/emailify/content/auto-translate.mp4)

## Use Gemini API

1. Click the **Localize** button in Emailify.
2. Choose **Gemini API**.
3. Paste your Google AI Studio [API key](https://aistudio.google.com/app/apikey).
4. Pick the Gemini model you want Emailify to use.
5. Select the email frames and target locales you want to translate.
6. Leave **Use Markdown** enabled to preserve inline bold, italic, and linked text during translation. This option is enabled by default for Gemini methods.
7. Click **Translate & Import**.

Emailify will send the selected frame text to Gemini for translation and then automatically import the translated results back into Figma as cloned localized email frames.

> **Tip:** Your Gemini API key is stored per Figma user on your device and is not saved into the Figma file itself.

## Use Gemini Prompt

1. Choose **Gemini Prompt** in the localization options.
2. Select the email frames and locales you want to translate.
3. Click **Generate Prompt**.
4. Click **Copy Prompt**.
5. Run the prompt in Gemini and make sure the response contains **raw CSV only**.
6. Paste the CSV response back into Emailify.
7. Click **Translate Figma Frames** to import the translated content into Figma.

In the manual prompt workflow, you choose the Gemini model inside Gemini yourself. Emailify validates the CSV structure before importing the translated frames into Figma.

The generated prompt also tells Gemini to preserve supported markdown formatting and keep markdown markers, URLs, and placeholders unchanged so the translated content can be imported back into Figma with the correct inline styling.

> **Tip:** If you use placeholders, merge tags, URLs, or markdown in your email content, keep them unchanged in the translated CSV so Emailify can safely map them back into your design.
