Automation Action: Detect Language
Detect the language of any text and assign the language code to a variable.
Detects the language for any text and returns the language code to a variable.
Enter the Text To Detect. This field is limited to 10000 characters.
Select the variable you want the language code assigned to from the Assign Language Code To Variable list.
Translation requires a Translation account. This is configured in the Server Settings - Translation.
You can also use the ChatGPT action to detect the language of any text. Simply send a prompt such as:
What language is this?
%Msg_Body%
Just return the language ISO 2 letter code.
You can send any ThinkAutomation variable(s) with the prompt.