translate_metadata
Translate app metadata from a source language to one or more target languages using AI-powered translation.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | The project ID to translate |
fromLocale | string | Yes | Source locale code (e.g., "en-US") |
toLocales | string[] | Yes | Target locale codes or ["all"] |
fields | string[] | No | Specific fields to translate |
preservedTerms | string[] | No | Terms 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 preservingthe 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}
Batch Translation
For best results, translate all your target languages at once. This ensures consistency and reduces API calls.
Related Tools
- upload_appstore - Push translated metadata to App Store
- upload_playstore - Push translated metadata to Play Store
- list_locales - See all supported locales