canva-translate-design
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCanva Translate
Canva 翻译
Translate all text elements in a Canva design to a target language, creating a new copy with translated content.
将Canva设计中的所有文本元素翻译成目标语言,生成包含翻译内容的新副本。
Workflow
工作流程
1. Locate the Design
1. 定位设计
If user provides a URL: Extract the design ID from the URL (format: ).
https://www.canva.com/design/{design_id}/...If user provides a name: Use to find the design by title. If multiple matches, ask user to clarify.
Canva:search-designs如果用户提供URL:从URL中提取设计ID(格式:)。
https://www.canva.com/design/{design_id}/...如果用户提供名称:使用根据标题查找设计。如果有多个匹配结果,请让用户明确指定。
Canva:search-designs2. Create a Translated Copy
2. 创建翻译副本
Use with the same dimensions to create a copy. This preserves the original design untouched.
Canva:resize-design使用并保持相同尺寸来创建副本。这样可以保留原始设计不受修改。
Canva:resize-design3. Start Editing Transaction
3. 启动编辑事务
Use on the new copy to get:
Canva:start-editing-transaction- for making edits
transaction_id - All text elements with their and current text content
element_id
在新副本上调用,获取:
Canva:start-editing-transaction- 用于进行编辑的
transaction_id - 所有文本元素及其和当前文本内容
element_id
4. Translate Text
4. 翻译文本
For each text element returned:
- Translate the text to the target language (use Claude's translation capability)
- Preserve formatting cues (line breaks, emphasis patterns)
- Keep proper nouns, brand names, and technical terms as appropriate
对于返回的每个文本元素:
- 将文本翻译成目标语言(使用Claude的翻译能力)
- 保留格式提示(换行、强调格式)
- 酌情保留专有名词、品牌名称和技术术语
5. Apply Translations
5. 应用翻译结果
Use with operations for all translated elements. Batch all replacements in a single call.
Canva:perform-editing-operationsreplace_textAlso update the design title to indicate the language (e.g., append " (Spanish)" or use translated title).
使用,通过操作批量替换所有已翻译的元素。将所有替换操作整合到一次调用中。
Canva:perform-editing-operationsreplace_text同时更新设计标题以标注语言(例如,添加“(西班牙语)”或使用翻译后的标题)。
6. Commit Changes
6. 提交更改
After showing the user the translated preview thumbnail:
- Ask for explicit approval to save
- Use to finalize
Canva:commit-editing-transaction - Provide the link to the new translated design
向用户展示翻译后的预览缩略图后:
- 请求用户明确批准以保存更改
- 使用完成操作
Canva:commit-editing-transaction - 提供新翻译设计的链接
Example Interaction
交互示例
User: Translate my "Summer Sale Poster" to French
Steps:
- Search: with query "Summer Sale Poster"
Canva:search-designs - Copy: to create duplicate
Canva:resize-design - Edit: on copy
Canva:start-editing-transaction - Translate all text elements to French
- Apply: with all
Canva:perform-editing-operationsoperationsreplace_text - Show preview, get approval, commit
用户:将我的“夏季促销海报”翻译成法语
步骤:
- 搜索:调用,查询关键词“夏季促销海报”
Canva:search-designs - 复制:使用创建副本
Canva:resize-design - 编辑:在副本上调用
Canva:start-editing-transaction - 将所有文本元素翻译成法语
- 应用:调用执行所有
Canva:perform-editing-operations操作replace_text - 展示预览,获取批准后提交
Important Notes
重要注意事项
- Always create a copy—never modify the original design
- Batch all text replacements in one call for efficiency
perform-editing-operations - If translation significantly changes text length, warn user that layout adjustments may be needed in Canva
- For designs with many pages, translate all pages in the same transaction
- 始终创建副本——绝不修改原始设计
- 将所有文本替换操作整合到一次调用中以提高效率
perform-editing-operations - 如果翻译导致文本长度发生显著变化,请提醒用户可能需要在Canva中调整布局
- 对于多页设计,在同一事务中翻译所有页面