export_translations
Converts JSON or Flutter ARB translation catalogs into XLIFF 1.2/2.0 or TMX 1.4 exchange files for translation agencies and TMS platforms such as Crowdin, Lokalise, or Trados.
Instructions
Exports translation catalogs (JSON or Flutter ARB) into standard XLIFF (1.2 / 2.0) or TMX 1.4 exchange files for professional translation agencies and Translation Management Systems (Crowdin, Lokalise, Phrase, Smartling, Trados).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Exchange standard: 'xliff-1.2' (standard OASIS XLIFF), 'xliff-2.0' (modern XLIFF 2), or 'tmx-1.4' (LISA Translation Memory eXchange). Defaults to 'xliff-1.2'. | xliff-1.2 |
| namespaces | No | Optional list of namespaces to limit export to. | |
| outputPath | No | File or directory path to save exported exchange files. If omitted, returns output in content. | |
| projectPath | No | Optional project root directory. Defaults to current working directory. | |
| includeNotes | No | Whether to include translator notes / ARB descriptions. Defaults to true. | |
| sourceLocale | No | Source language code (e.g. 'en'). Defaults to detected source locale. | |
| targetLocales | No | Target language codes to export (e.g. ['fr', 'de', 'es']). |