translate_tool
Translate strings in iOS/macOS Xcode String Catalog files to specified target languages, returning translated keys for localization management.
Instructions
MCP tool to translate strings to target language and return translated keys.
Args:
file_path (str): Path to the .xcstrings file
target_language (str): Target language code
Returns:
str: Translation result with translated keys or error message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | ||
target_language | Yes |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"title": "File Path",
"type": "string"
},
"target_language": {
"title": "Target Language",
"type": "string"
}
},
"required": [
"file_path",
"target_language"
],
"type": "object"
}