The following locale IDs are to be used by $Rewrite function to translate input text into a different language using OpenAI. The function uses the following format:
$Rewrite(text|style|language)
Where:
- text - any supported combination of text, columns and functions.
- style - (optional) any writing style name, such as "formal", "business" or "technical". As long as the AI engine understands the style name, it will attempt to rewrite in that style. If left empty, the style of the input will be preserved.
- language - (optional) locale ID values from the table below. If left empty, the language of the input will be preserved.
For example: $Rewrite([Body]||es-ES) - will take the value from the column Body and translate it into Spanish (Spain) preserving the original writing style.
Language | Locale ID |
Arabic | ar-SA |
Azerbaijani | az-Latn-AZ |
Basque | eu-ES |
Bosnian (Latin) | bs-Latn-BA |
Bulgarian | bg-BG |
Catalan | ca-ES |
Chinese (Simplified) | zh-CN |
Chinese (Traditional) | zh-TW |
Croatian | hr-HR |
Czech | cs-CZ |
Danish | da-DK |
Dari | fa-AF |
Dutch | nl-NL |
English (Australia) | en-AU |
English (Canada) | en-CA |
English (UK) | en-GB |
English (US) | en-US |
Estonian | et-EE |
Finnish | fi-FI |
French (France) | fr-FR |
French (Canada) | fr-CA |
Galician | gl-ES |
German | de-DE |
Greek | el-GR |
Hebrew | he-IL |
Hindi | hi-IN |
Hungarian | hu-HU |
Indonesian | id-ID |
Irish | ga-IE |
Italian | it-IT |
Japanese | ja-JP |
Kazakh | kk-KZ |
Korean | ko-KR |
Latvian | lv-LV |
Lithuanian | lt-LT |
Macedonian | mk-MK |
Malay | ms-MY |
Norwegian (Bokmål) | nb-NO |
Polish | pl-PL |
Portuguese (Brazil) | pt-BR |
Portuguese (Portugal) | pt-PT |
Romanian | ro-RO |
Russian | ru-RU |
Serbian (Cyrillic) | sr-Cyrl-CS |
Serbian (Latin) | sr-Latn |
Slovak | sk-SK |
Slovenian | sl-SI |
Spanish (Spain) | es-ES |
Spanish (Mexico) | es-MX |
Swedish | sv-SE |
Thai | th-TH |
Turkish | tr-TR |
Ukrainian | uk-UA |
Vietnamese | vi-VN |
Welsh | cy-GB |
Note: you can use any standard locale ID, even if it's not found in this table. If the locale ID is not supported, it will default to English (US).
Last modified: 5/15/2024 3:54 PM
Loading...
Add your comment
Comments are not meant for support. If you experiencing an issue, please open a support request.
Reply to: from