i18n_extract_strings
Extract hardcoded user-facing strings from source code to prepare for internationalization. Specify programming language to identify translatable text.
Instructions
Extract hardcoded user-facing strings from source code for internationalization
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_code": "<source_code>"
},
"name": "i18n_extract_strings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| language | No | Programming language: 'typescript', 'javascript', 'python', 'java' | |
| source_code | Yes | Source code to extract translatable strings from |