CopyDoc 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.
Use Gemini API
- Click the Localize Text button in CopyDoc.
- Choose Gemini API.
- Paste your Google AI Studio API key.
- Pick the Gemini model you want CopyDoc to use.
- Select the Figma frames and target locales you want to translate.
- Enable Use Markdown if your content includes formatting that should be preserved.
- Click Translate & Import.
CopyDoc will send the selected frame text to Gemini for translation and then automatically import the translated results back into Figma as cloned localized frames.
Use Gemini Prompt
- Choose Gemini Prompt in the localization options.
- Select the Figma frames and locales you want to translate.
- Click Generate Prompt.
- Click Copy Prompt to Clipboard.
- Run the prompt in Gemini and make sure the response contains raw CSV only.
- Paste the CSV response back into CopyDoc.
- Click Translate Figma Frames to import the translated content into Figma.
In the manual prompt workflow, you choose the Gemini model inside Gemini yourself. CopyDoc validates the CSV structure before importing the translated frames into Figma.