translate_metadata

Translate app metadata from a source language to one or more target languages using AI-powered translation.

Parameters

NameTypeRequiredDescription
projectIdstringYesThe project ID to translate
fromLocalestringYesSource locale code (e.g., "en-US")
toLocalesstring[]YesTarget locale codes or ["all"]
fieldsstring[]NoSpecific fields to translate
preservedTermsstring[]NoTerms to keep untranslated

Example Usage

Ask Claude to translate your metadata:

Example Conversationtext
User: Please translate my app's metadata from English to Spanish, French,
and German. Keep "AppStore Copilot" and "AI" untranslated.
Claude: I'll translate your metadata to those languages while preserving
the specified terms.
[Calling translate_metadata with:
projectId: "proj_abc123"
fromLocale: "en-US"
toLocales: ["es-ES", "fr-FR", "de-DE"]
preservedTerms: ["AppStore Copilot", "AI"]
]
Translation complete! Here's a summary:
**Spanish (es-ES):**
- Name: "Mi App con AppStore Copilot"
- Subtitle: "Potenciado por AI"
- Description: Translated (2,400 characters)
**French (fr-FR):**
- Name: "Mon App avec AppStore Copilot"
- Subtitle: "Propulsé par AI"
- Description: Translated (2,580 characters)
**German (de-DE):**
- Name: "Meine App mit AppStore Copilot"
- Subtitle: "Powered by AI"
- Description: Translated (2,650 characters)
Would you like me to push these translations to the stores?

Response

The tool returns translation results:

Tool Responsejson
{
"success": true,
"translationId": "trans_xyz789",
"sourceLocale": "en-US",
"targetLocales": ["es-ES", "fr-FR", "de-DE"],
"results": {
"es-ES": {
"status": "completed",
"charactersTranslated": 2400
},
"fr-FR": {
"status": "completed",
"charactersTranslated": 2580
},
"de-DE": {
"status": "completed",
"charactersTranslated": 2650
}
},
"totalCharacters": 7630,
"creditsUsed": 76
}