CopyDoc supports Claude in two ways:
- Claude API for automated translation and import inside the plugin.
- Claude Prompt for a manual copy and paste workflow using the Claude app.
Use Claude API
- Click the Localize Text button in CopyDoc.
- Choose Claude API.
- Paste your Anthropic API key.
- Pick the Claude model you want CopyDoc to use.
- Select the Figma frames and target locales you want to translate.
- Enable Use Markdown if you need to preserve inline bold, italic, and linked text during translation.
- Click Translate & Import.
CopyDoc will translate the selected frames with Claude and automatically import the translated results back into Figma as cloned localized frames.
Your Claude API key is stored per Figma user on your device and is not saved into the Figma file itself.
Use Claude Prompt
- Choose Claude 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 Claude 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 Claude model inside Claude yourself. CopyDoc validates the CSV structure before importing the translated frames.
The generated prompt also tells Claude to preserve supported inline markdown formatting and keep markdown markers, URLs, and placeholders unchanged so the translated content can be imported back into Figma correctly.
Do not remove or rename the id, frame_id, layer_name, or figma_text columns in the CSV response. CopyDoc uses those columns to match translated rows back to the correct Figma layers.