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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Glob pattern on keys or substring on values | |
| namespace | Yes | Namespace name from .i18n-mcp.json |