locked
translator starter kit RRS feed

  • Question

  • I am using  http://msdn.microsoft.com/en-us/library/windowsphone/develop/gg521144(v=vs.92).aspx this translator library to develop my WP7 app . I got client id and client key for my app . This library uses old appid method and ask us to store the samein the TextToSpeechID and TextTranslateID value fields of theStrings.resx file . Now what should i give in those two fields either client id or client key.Please help me out to solve this asap. Thanks in advance .
    Wednesday, September 19, 2012 6:47 PM

Answers

  • The old appid method has been deprecated, so a rewrite of the access code to use the Windows Azure Marketplace authentication would be needed if you are going to use the starter kit.

    Alternatively, there's a step-by-step tutorial of how to do a Windows Phone 7 app using Microsoft Translator here:

    http://blogs.msdn.com/b/translation/p/wp7translate.aspx

    Laurence

    Tuesday, September 25, 2012 3:08 PM

All replies

  • Hi Madhwesh,

    you may use an Azure access token as the value of the appid parameter. Simply add the code to obtain a new access token every 10 minutes, and then pass it in the translate call as the appid.

    The sample here http://msdn.microsoft.com/en-us/library/hh454950.aspx includes the method for obtaining the access token based on your client ID and client secret.

    Let us know if this helps,
    Chris Wendt
    Microsoft Translator


    Friday, September 21, 2012 2:27 PM
  • The old appid method has been deprecated, so a rewrite of the access code to use the Windows Azure Marketplace authentication would be needed if you are going to use the starter kit.

    Alternatively, there's a step-by-step tutorial of how to do a Windows Phone 7 app using Microsoft Translator here:

    http://blogs.msdn.com/b/translation/p/wp7translate.aspx

    Laurence

    Tuesday, September 25, 2012 3:08 PM