Actions4
- Machine Translation Actions
- Translation Actions
- File Actions
File → Download Translated File
AI-generatedSummary
Download a translated file from a specified Smartling project and locale, optionally including untranslated original strings.
Inputs
- Project UID (required) — The Smartling project identifier from which to download the translated file. Select from a searchable list or specify by ID.
- File URI (required) — The unique URI path of the file in the project to download, e.g., "files/test-file.JSON".
- Target Locale Name or ID (required) — The locale language code or ID for which the translation should be downloaded, such as "es" for Spanish. Options load dynamically based on the project.
- Download Mode — Select to download either published translations only or all saved translations (including unpublished).
- Include Original Strings — If enabled, untranslated strings in the downloaded file will include the original source text.
Output shape
a binary file containing the translated content along with metadata properties fileName and contentType
The output is binary data with the translated file content. Metadata includes the file name and content type as reported by the Smartling API.
Examples
Example 1: Download Spanish translations for a specific file in a Smartling project showing the published translations only without untranslated originals.
Project UID: selected project; File URI: "files/example.JSON"; Target Locale: "es"; Download Mode: "published"; Include Original Strings: false
Example 2: Download all saved translations including untranslated strings for the French locale.
Project UID: selected project; File URI: "files/example.JSON"; Target Locale: "fr"; Download Mode: "pending"; Include Original Strings: true