Canvaのデザイン内のすべてのテキストを別の言語に翻訳し、翻訳済みのコピーを作成します。Canvaのエディタで各テキストボックスを手作業でコピーして編集するより高速です。 次のような場合に使用: ユーザーが「デザインを〇〇語に翻訳したい」「スペイン語版/フランス語版を作ってほしい」「Canvaのデザインを多言語対応させたい」と言ったとき
Translate all text in a Canva design to another language, creating a translated copy. Faster than manually copying and editing each text box in Canva's editor. Use when users say "translate my design to [language]", "make a Spanish/French/etc version", or "localize my Canva design".
Canvaデザイン内のすべてのテキスト要素を指定した言語に翻訳し、翻訳済みコンテンツを含む新しいコピーを作成します。
ユーザーが デザインID を直接指定した場合(通常は D で始まる。例: DABcd1234ef)、それをデザインの識別子として使用します。Canva:search-designs には渡さないでください(検索はタイトル用であり、IDには対応していません)。
ユーザーが URL を指定した場合: URLからデザインIDを抽出します(形式: https://www.canva.com/design/{design_id}/...)。
ユーザーが 名前 を指定した場合: Canva:search-designs を使用してタイトルでデザインを検索します。複数の候補が見つかった場合は、ユーザーに確認を求めてください。
Canva:resize-design を同じサイズで使用してコピーを作成します。これにより、元のデザインはそのまま保持されます。
新しいコピーに対して Canva:start-editing-transaction を使用し、以下を取得します:
transaction_idelement_id および現在のテキスト内容返却された各テキスト要素に対して、以下を行います:
すべての翻訳済み要素に対して、replace_text オペレーションを使用して Canva:perform-editing-operations を実行します。すべての置換は1回の呼び出しでまとめて行います。
また、デザインのタイトルも言語を示す形に更新します(例: 末尾に「(Spanish)」を追加する、またはタイトルを翻訳後の言語で記載する)。
翻訳済みのプレビューサムネイルをユーザーに表示した後:
Canva:commit-editing-transaction を使用して確定するユーザー: 「Summer Sale Poster」をフランス語に翻訳して
手順:
Canva:search-designs でクエリ「Summer Sale Poster」を実行Canva:resize-design で複製を作成Canva:start-editing-transaction を実行replace_text オペレーションを含む Canva:perform-editing-operations を実行perform-editing-operations 呼び出しにまとめることTranslate all text elements in a Canva design to a target language, creating a new copy with translated content.
If user provides a design ID directly (typically starts with D, e.g. DABcd1234ef), use that as the design identifier; do not pass it to Canva:search-designs (search is for titles, not IDs).
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 Canva:search-designs to find the design by title. If multiple matches, ask user to clarify.
Use Canva:resize-design with the same dimensions to create a copy. This preserves the original design untouched.
Use Canva:start-editing-transaction on the new copy to get:
transaction_id for making editselement_id and current text contentFor each text element returned:
Use Canva:perform-editing-operations with replace_text operations for all translated elements. Batch all replacements in a single call.
Also update the design title to indicate the language (e.g., append " (Spanish)" or use translated title).
After showing the user the translated preview thumbnail:
Canva:commit-editing-transaction to finalizeUser: Translate my "Summer Sale Poster" to French
Steps:
Canva:search-designs with query "Summer Sale Poster"Canva:resize-design to create duplicateCanva:start-editing-transaction on copyCanva:perform-editing-operations with all replace_text operationsperform-editing-operations call for efficiency原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。