locked
Query Regarding Translation API RRS feed

  • Question

  • I am using Microsoft Translator API (Microsoft Azure MarketPlace).

    There is a mention of getting Access Token. Through Access Token We need to translator API.

    I have a doubt whether generated access token will remain constant or going to change each time for translation.  

    I am in a dilemma that can I convert whole html string into other language at Once or I need to pass control wise text each time?

    Friday, January 2, 2015 11:40 AM

All replies

  • Thank you for your question Karpit

    You require the Access Token with each API call you make to the Translator 

    The Access Token will expire after a time period of 10 minutes after it is generated. In order to get a new Access Token, you need to make a call to the token service with your client id and client secret.

    There is a code sample of how to do this and more information about generating Access Tokens here - http://msdn.microsoft.com/en-us/library/hh454950.aspx

    Regards,

    Tanvi Surti

    Program Manager, Microsoft Translator


    Microsoft Translator team - www.microsoft.com/Translator

    Wednesday, January 7, 2015 9:50 PM