locked
microsoft translator api application RRS feed

  • Question

  • Dear Support Team,

    How can we transfer the translate result to another computer used? Because most of our computer can not connect network, would it be possible to collect the translate result by proxy way or another way for other computer used? Thank you.

    Saturday, November 21, 2015 1:46 PM

All replies

  • Hello 雲林仔,

    you certainly may store the result of the translation, and then you can transfer the stored result to another computer.

    You can also implement a proxy which communicates to the service on one side and to your internal network on the other, using a dual-homed machine.

    The terms of use prohibit exposing the translator function as a publicly accessible API.

    Let us know if this helps,
    Chris Wendt
    Microsoft Translator

    Saturday, November 21, 2015 8:52 PM
  • But we have do one test as shown as below:

    1. use proxy method to connect microsoft translate widget , as refer to the address http://www.bing.com/widget/translator , we have setup the computer A can use proxy method to connect network, but when another computer use browser to connect computer A , it can not use translate service. (It can not connect it)

    Additional information : We use iframe method to add the script language to php file. And we setup computer A for web server.

    2. About store the result of the translation issue, would it be possible to finish it by program control ? Thank you.

    Sunday, November 22, 2015 1:38 PM
  • Hello 雲林仔,

    when using the widget, the translation request comes from the client machine's browser. The client needs internet access to api.microsofttranslator.com, on port 80 or 443.

    Chris Wendt
    Microsoft Translator

    Sunday, November 22, 2015 4:17 PM
  • Dear Chris, 

    We also found some information as shown as the address :https://social.msdn.microsoft.com/Forums/en-US/3f9a270e-3360-4aa1-9eb8-669145298d45/accessing-the-microsoft-translator-api-from-vbnet?forum=microsofttranslator . 

    Would it be possible to use program to setup proxy way to connect https://datamarket.accesscontrol.windows.net/v2/OAuth2-13 to transfer which language we wanted? 

    Thank you.

    Tuesday, November 24, 2015 12:52 PM
  • Hello 雲林仔,

    the access control site provides a token to you, in exchange for your access credentials. You then use the token to make calls to the translator API. The token is a means to secure your credentials: neither the translator service nor a 3rd party can determine your credentials. However, having the token enables you or anyone who has it, to use the translator service for 10 minutes.

    Chris Wendt
    Microsoft Translator

    Tuesday, November 24, 2015 4:56 PM
  • Dear Chris, 

    What's do you man about this : However, having the token enables you or anyone who has it, to use the translator service for 10 minutes.

    (Does it mean we can use translate only 10 minutes or not?)

    Thank you. 

    Wednesday, November 25, 2015 1:53 PM
  • Yes. The token is valid for 10 minutes. After 10 minutes you need to obtain a new token.

    Chris Wendt
    Microsoft Translator

    Tuesday, December 1, 2015 11:14 PM
  • Dear Chris, 

    Does Microsoft translate api count blank during translating language if the sentence included blank or symbol, such , ? ? Thank you. 

    Saturday, December 19, 2015 12:18 PM
  • All characters of the input string count, including white space and markup.

    The methods Detect, BreakSentences, AddTranslation, GetLanguages are not charged.

    Chris Wendt
    Microsoft Translator

    Saturday, December 19, 2015 7:39 PM
  • Dear Chris, 

    Is there any function which we can know we are not free at this month? Thank you.

    Sunday, December 20, 2015 8:07 AM
  • Hello 雲林仔,

    the 2 million character subscription is free. You can use up all 2 million characters in less than a month, and at that point the service will stop. You can sign up for the 4 million character subscription with auto-refill, which means that you will automatically be resubscribed for a 4 million character monthly subscription when you have used up your 4 million characters before the end of the month.

    Chris Wendt
    Microsoft Translator

    Sunday, December 20, 2015 8:57 AM
  • So if we use more than 2 million in a month, we can not use it at this month , is it right?

    Next month, can we use the service ? (Does it mean we have 2 million characters each month?)

    If our company would like to buy microsoft translate service, can we cancel these limit of microsoft translate service? Thank you.

    Monday, December 21, 2015 1:50 AM
  • If you are on the free subscription, your use of the service ends when you have reached 2 million characters, until your monthly subscription anniversary, which is the in your case the 29th of each month. As of the 29th, you will have 2 million characters in your account again.

    You can subscribe to higher volume subscriptions using a credit card, from most countries except China. For paid subscriptions you can choose auto-renew, which can ensure that your credit never runs out.

    If your company has an enterprise agreement with Microsoft, you can add a Translator subscription to that agreement. Your company's procurement team would know what you already have.

    Chris Wendt
    Microsoft Translator

    Wednesday, December 23, 2015 12:02 AM
  • Dear Chris Wendt,

    About this describe as listed as below:

    Yes. The token is valid for 10 minutes. After 10 minutes you need to obtain a new token.
    How can we obtain a new token? If we turn off browser , and then turn on browser , it will obtain a new token or not?

    If we use widget as listed as below, is there any limit, such time, character, how many people can use it together? 

    http://www.bing.com/widget/translator

    Thank you.

    Friday, January 1, 2016 4:32 AM
  • The widget takes care of token renewal. You don't need to worry when using the widget. You only need to worry about token expiration when you use the Translator API directly.

    No, there are no fixed limits to the number of people who can use the widget.

    Chris Wendt
    Microsoft Translator

    Friday, January 1, 2016 11:43 PM
  • Would it be possible to unlock the limit of Translator API for 10 minutes, such as to buy Microsoft API token...etc? Thank you.
    Saturday, January 2, 2016 7:31 AM
  • The expiration is a safety feature to protect your account. What is the problem with renewing the token? Look at the samples we provide on MSDN. Very easy to do for a server application. The recommended mechanism is that your server obtains the token and hands it to an authenticated client, which in turn makes the calls to the Translator service.

    Chris Wendt
    Microsoft Translator

    Saturday, January 2, 2016 4:05 PM
  • Dear Chris, 

    We would like to make sure with how to obtains the token?We have applied the Microsoft Translate Service , so we need to update the id each 10 minutes or not? Thank you for your kindly assistance.

    Sunday, January 3, 2016 12:54 AM
  • No. Client ID and client secret are constant until you change them. The access token is the result of exchanging your client ID and secret into an access token. You use the access token in the call to api.microsofttranslator.com, in the "appid" parameter.

    Chris Wendt
    Microsoft Translator

    Sunday, January 3, 2016 12:58 AM