The GPT-4o Text Translate feature enables you to automatically translate content based on events you define. Built on OpenAI's GPT-4o model, this automation action offers fast, high-quality translations while taking your input context and glossary terms into account.
If you are unfamiliar with creating an Automation, please refer to the following article: Creating an Automation.
Cells modified by machine translation tools, including Google Translate, Open AI, Amazon Translate have a status to indicate AI/machine translation. Note that AI/machine-translated content isn’t stored in the Translation Memory until it is edited.
Differences between GPT- 4o Text Translate or OpenAI Chat with GPT-4o
- GPT-4o Text Translate: Made for translating texts, it offers a straightforward setup—simply subscribe in the Integrations tab without the need for your own OpenAI API key. Alternatively, if you wanted to use your own API key then you can still enable the OpenAI Chat with GPT-4o action below and enter your Key. Then this action will use your OpenAI API key.
- OpenAI Chat with GPT-4o: This option allows for easy prompt customization and can be used for various purposes, not limited to translation. You must input your own OpenAI API key to use this automation action.
Prerequisites
Setup
After creating the Automation, you need to configure the trigger and action. In this example, we’ll create an Automation that translates the source strings (English) to French, when a record in the source language column (English) is edited.
Add “Record updated” trigger
- Click Add Trigger, then select “Record updated” from the dropdown list.
- In the “Watching columns” section, select the Source language column (Source_enUS)
Add “GPT-4o Text Translate” action
Click Add Step and select GPT-4o Text Translate from the list of actions.
Use Gridly's default prompt
The GPT-4 Text Translate automation action includes a default prompt that is optimized by Gridly for efficient and natural translation. This default prompt is recommended if you are uncertain about engineering your own.
To use Gridly's default prompt, leave the Use my custom prompt checbox unselected. Fill in the required fields:
- Select original text language
- Select language to translate to
- Select Output column to hold the result (optional): Choose an Output column where the translation will be stored.
- Context (optional): Provide additional context to improve translation quality. You can also use values from your Grid for context. Toggle Show all raw Parameters for a detailed view.
- Glossary (optional): Check the box to improve translations using any glossaries assigned to this Grid in the Glossary menu in Localization Settings.
Use a custom prompt
If you want more control over the results from GPT, you can use your own prompt. To customize your own prompt, select the Use my custom prompt checkbox and fill in the required fields:
- Select source column
- Select target language
-
Input your custom prompt: Enter your prompt. If you add Glossaries as a parameter in your prompts, there will be two additional fields to configure how glossary items are formatted.
-
Glossary Item Delimiter (optional): Enter the separator for glossary items. Defaults to
;
if left empty. - Glossary Item Structure: Enter the format for each glossary item. Make sure to include both Source segment and Target segment.
-
Glossary Item Delimiter (optional): Enter the separator for glossary items. Defaults to
- Select Output column to hold the result (optional): Choose an Output column where the translation will be stored.
- Custom Options: Click Custom Options to adjust options related to Chat GPT-4o, including Temperature, Presence penalty, and Frequency penalty.
Test Automation
- Switch the toggle on to turn on the Automation.
- Click Test Automation. If your Automation is not turned on, Gridly will require that you turn on the Automation in the resulting pop-up message. Click on the toggle to turn on and select Test again.
Invoke records to apply the Automations to existing records
If you want to run the Automation on all records without the Trigger, select Invoke records.
To view all the related articles to Automations, click here.
Filter content modified by AI/machine translation automation actions
Create View filters to filter out content modified by Google Translate, Open AI, Amazon Translate:
- Click on the header to open View filters.
- Click “Add condition group” to create a filter.
- Select a column you want to apply the filter to.
- Select “is modified by” as the operator.
- In the value section, click to select to filter by which automation action.