Translator Node
Last updated
Last updated
This node allows you to translate text from one language to another using AI.
Text for Translation: The text to be translated
Type: Text
Face of the node
Source Language: The language that the inputted text is in. There is a “Detect Language” option called Detect Language which will auto detect the input text language. However, you can also specify the language of the inputted text if you are certain of it. The available languages are:
Afrikaans, Albanian, Amharic, Arabic, Armenian, Assamese, Aymara, Azerbaijani, Bambara, Basque, Belarusian, Bengali, Bhojpuri, Bosnian, Bulgarian, Catalan, Cebuano, Chichewa, Chinese Simplified, Chinese Traditional, Corsican, Croatian, Czech, Danish, Divehi, Dogri, Dutch, English, Esperanto, Estonian, Ewe, Filipino, Finnish, French, Frisian, Galician, Ganda, Georgian, German, Greek, Guarani, Gujarati, Haitian Creole, Hausa, Hawaiian, Hebrew, Hindi, Hmong, Hungarian, Icelandic, Igbo, Iloko, Indonesian, Irish Gaelic, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Kinyarwanda, Konkani, Korean, Krio, Kurdish [Kurmanji], Kurdish [Sorani], Kyrgyz, Lao, Latin, Latvian, Lingala, Lithuanian, Luxembourgish, Macedonian, Maithili, Malagasy, Malay, Malayalam, Maltese, Maori, Marathi, Meiteilon Manipuri, Mizo, Mongolian, Myanmar [Burmese], Nepali, Northern Sotho, Norwegian, Odia Oriya, Oromo, Pashto, Persian, Polish, Portuguese, Punjabi, Quechua, Romanian, Russian, Samoan, Sanskrit, Scots Gaelic, Serbian, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Sundanese, Swahili, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Tigrinya, Tsonga, Turkish, Turkmen, Twi, Ukrainian, Urdu, Uyghur, Uzbek, Vietnamese, Welsh, Xhosa, Yiddish, Yoruba, and Zulu.
Target Language: The language you want to translate the inputted text to.
In the gear:
Provider: Provider of the AI model you want to use. The default provider is OpenAI.
Model: Model name of the AI model you want to use. The default model is gpt-4o.
Translation: The translated text in the target language.
Type: Text
Example usage: {{translator_0.translation}}
The below example is a pipeline which takes in text from any language and translates it into Spanish.