Answered problem with micorsoft translator

  • Friday, December 21, 2012 11:59 PM
     
     
    Hello, I'm using the Microsoft Translator API, and 2 or 3 weeks till I worked perfect. but now when I want to return the empty field. because it can be? using http://msdn.microsoft.com/en-us/library/ff512421.aspx php code..

    I'm spanish, sorry for my english :P 

All Replies

  • Monday, December 24, 2012 6:14 AM
    Moderator
     
     Answered

    Hi,

    What do you mean "return the empty field"? Is it returned translated text? If so, I think it is based on what you pass to text parameter in uri. If you give a string empty, of course, empty returns. If you pass a text, it won't return empty except the exception during translating. For a better design, I think you need to validate the input string to avoid empty string when doing translation. For better solving Microsoft Translator issue, please open thread into its own forum:

    http://social.msdn.microsoft.com/Forums/en-US/microsofttranslator/threads

    Thanks,


    QinDian Tang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.