Translating mixed language requests with Microsoft Translator API RRS feed

  • Question

  • Hello,

    I have been using the Microsoft Translator API for a project. Some of the input I need translated has different languages mixed together in the same string (spoken languages, not programming languages). Here's a random example, a string with mixed Arabic and Spanish:

    original_text = "مرحبا, me llamo es Alex"

    translated_text = "مرحبا, my name is Alex"

    The API will translate one language, but not the other. Is there any way for it to translate both? 

    I am using HTTP and Python for this project.



    • Edited by Alex Hagan Wednesday, May 28, 2014 8:00 PM
    Wednesday, May 28, 2014 2:05 PM