import_translations
Upload translations from a local file to your SimpleLocalize project: provide the file path and format, and optionally set import options like publishing or replacing existing translations.
Instructions
This tool will import translations from a local file into your SimpleLocalize project.
Provide 'filePath' (required, absolute local path to the file) and 'uploadFormat' (required, e.g. csv-translations, multi-language-json, po-pot, etc.).
Optionally provide 'importOptions' (e.g. PUBLISH_AFTER_IMPORT, REPLACE_TRANSLATION_IF_FOUND), 'languageKey', 'customerId', 'namespace', and 'tags'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to assign to imported translation keys (optional). | |
| filePath | Yes | Absolute local path to the file to import. | |
| namespace | No | Namespace to import translations into (optional). | |
| customerId | No | Customer ID to import customer-specific translations for (optional). | |
| languageKey | No | Language key to import translations into (optional, depends on format). | |
| uploadFormat | Yes | Format of the file being imported. | |
| importOptions | No | Import options (optional). |