Unlock the Power of Global Communication with Sema Translator! Seamlessly bridging language barriers. With support for over 200 languages, Sema Translator opens up a realm of possibilities for building truly global applications.
Use the following python code to access the api endpoint
import requests url = "{public_url}/translate/" data = { "userinput": "rũcinĩ rwega, niwokĩra wega?", "target_lang": "eng_Latn", } response = requests.post(url, json=data) result = response.json() print(result) source_language = result['source_language'] print("Source Language:", source_language) translation = result['translated_text'] print("Translated text:", translation)