get_translations
Retrieve all translations for a namespace as key-to-locale pairs, with optional glob or value filtering. Use before adding keys to detect duplicates.
Instructions
Get all translations for a namespace as { key: { locale: value } } pairs. Optional query filters by glob on keys (e.g. "button.*") or substring match on any locale value. Always call this before adding new keys to check for duplicates. Results are size-capped: on a large namespace an unfiltered call returns a truncated slice plus a note. When that happens, narrow the query instead of retrying — or use get_namespace_keys and get_translation.
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": {
"namespace": "<namespace>"
},
"name": "get_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Glob pattern on keys or substring on values | |
| namespace | Yes | Namespace name from .i18n-mcp.json |