Skip to main content
Skip table of contents

ChatGPT - Translate a Text File

Overview

This Template takes in a text file and translate it to the language that is chosen.

Variables

NameReferenceTypeRequiredDefaultOptionsDescription
ModelCHATGPT_MODELSelectgpt-5GPT-5: gpt-5

GPT-5-Mini: gpt-5-mini

GPT-5-Nano: gpt-5-nano

GPT-4.1: gpt-4.1
Model to use
Text File to TranslateCHATGPT_TEXT_FILEAlphanumeric--The file that you would like to translate
LanguageCHATGPT_LANGUAGEAlphanumeric--The language you would like the text translated to. It should be in ISO 639-1 format for best accuracy.
Translation File NameCHATGPT_DESTINATION_FILE_NAMEAlphanumeric--File name of translated text
Destination Folder NameCHATGPT_DESTINATION_FOLDER_NAMEAlphanumeric--

YAML

Below is the YAML template

YAML

source:
  template: ChatGPT - Translate a Text File
  inputs:
    CHATGPT_MODEL: gpt-5
    CHATGPT_TEXT_FILE:
    CHATGPT_LANGUAGE:
    CHATGPT_DESTINATION_FILE_NAME:
    CHATGPT_DESTINATION_FOLDER_NAME:
  type: TEMPLATE
guardrails:
  retry_count: 0
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 200

      
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.