How to change App ID in Inline Translator

Overview

Inline Translator uses Bing translation API of microsoft.
Bing API has usage limit and so Inline Translator’s default API key goes limit often.
You can simply change API key to yours so you can avoid API usage limit.


(Added: 2012-07-29)
Bing API that Inline Translator used will continue to be available until August 1, 2012. So from now, Inline Translator use new translation API of microsoft called “Windows Azure Marketplace”. If you change the “Windows Azure Marketplace” Client ID, you can continue to use Inline Translator. See below for more information.

New – Change Windows Azure Marketplace Client ID

  1. Go to Microsoft Translator Data Page and sign up.
  2. To sign up, login with Windows Live ID and create a Windows Azure Marketplace account. If you have Windows Live ID but do not have a Windows Azure Marketplace account, Registration form will appear. (You can sign up “MS Translation Data” after create Windows Azure Marketplace account.)
  3. After sign up “Microsoft Translator Data”, visit Applications Page. And register new application for Inline Translator.

    (Fill your own “Client ID” and “Name”, fill “Redirect URI” for “https://api.microsofttranslator.com”, and create.)
  4. Copy Client ID, Client secret and paste into Client ID, Client secret textbox of Inline Translator’s option page.

Deprecated – Change Bing Translation API Key

  1. At first, go to application page of bing webmaster
  2. Login with Windows Live ID. If you don’t have Windows Live ID, create one! :)
  3. So you can see the list page like below
  4. Click “Add” button and fill up and save form.
  5. After save form, list page will shown again.
  6. You can see App ID like below (if App ID doesn’t exist, try page reload.
  7. Copy App ID and paste into Bing App ID textbox of Inline Translator’s option page.

That’s all. Enjoy. :)

  • eric

    thanks for update, I have applied the Bing App ID but couldn’t see the textbox of the option page. Is it for version 1.1? I am on 1.0 now, so how can I get 1.1? Thanks for your work!

  • 김군우

    Hi, eric. Yes, it’s version 1.1. You can download 1.1 at https://addons.mozilla.org/addon/inline-translator/

  • Johnson

    Hello,I hope this addon can add a new feature.

    For example,when you select English words,the addon will translate it into Korean(it ‘s now the way the addon works)

    When you select Korean words,the addon will translate it to English.(the new feature)

    I found this feature in a bookmarklet,it’s quite useful.

    Acctually I mean that the addon can not only translate any language to the language you select,but also can translate the user’s mother tongue to English

    Hope you can understand it.

    Happy new year

  • Johnson

    I ‘ll describe it with more details.
    In fact I can do this by set an addtional language in this addon,
    Like you,your mother tongue is Korean.
    you can set
    translate to Korean
    translate to (additional) English

    So when you want to know how to say this in English,you can select it and the addon will do that.

    The problem is the display,It ‘s a bad design.

    It will always display two languages and it disturb the users attention.

    Another problem is when you’re reading a French news,you just want a Koren translation but not display another English translation Line,that line is redundant,when you ar reading a Korean page,sometimes you just want to know how to translate this korean sentence into English because you want to say this to your foreign friends,now the Korean translation line is just like copy the select words again and it’s redundant in this situation.

    My English is not so good,hope you can understand what I mean

  • Johnson

    There is also a bug in the latest version,in version 1.0,
    For example, I only enable Inline Translator when I need translation service,I can just click the Inline Translator button on the addons bar to enable it.

    In version 1.0,I can enable it after the page is loaded,
    but in the latest version,version 1.1,I must refresh the page after I enable it so that it can start to work.

    I thought this is a bug because it is not exist in version 1.0,hope you can repair it.

  • Johnson

    Here is also a advice,
    I hope Inline Translator can add a key shortcut settings,So we can enable and disable it conveniently.

    People don’t always need translation service,they just need it in some pages,it ‘s helpful if you can add this feature.

    Now I use keysnail and a keysnail script to do this job,it works well in Inline Translator version 1.1,but based on the bug I report above,I have to refresh the page after I enable Inline Translator now.

    By the way ,Inline Translator is the best firefox translation addon now,but I still hope it can do better

  • Johnson

    I am sorry,I ‘ve made a mistake, version 1.0 also need to refresh the page after you just had enabled it,
    My question is is it possible to avoid refreshing and start at once

  • 김군우

    Hi, johnson.

    I got and understood your three requests. :)
    – Set and translate to another language when selected text is the default target language.
    – Enable Inline Translator without page reload.
    – Make keyboard shortcut to toggle Inline Translator.

    Thank you for brilliant requests. :)
    I’ll add your requests to next version of Inline Translator.
    Happy new year, too!

  • http://miya.pe.kr 김군우

    I published version 1.2. Following requests have been added.
    https://addons.mozilla.org/ko/firefox/addon/inline-translator/versions/?page=1#version-1.2

    • Set and translate to another language when selected text is the default target language.
    • Make keyboard shortcut to toggle Inline Translator.

    Tested enabled Inline Translator without reload, but my browser worked well when clicked toolbar button to enable Inline Translator. I tested on Firefox 9.0.1 (on MacOS and Windows 7).

    Tell me your firefox version please. Then i’ll test again on that version.

  • Ed

    I’ve changed my API Key, but Inline doesn’t work. When I select a word, the text appears ArgumentException: Invalid appId\u000d Parameter name: appId : ID=3643.V2_Json.Translate.45DEA341

  • Ed

    I’ve changed my API Key again, copying my key I clicked “refresh” button and Inline fortunately started working.

  • Johnson

    Excellent job,Thank you very much.
    The new version is very good.Maybe it’s the best translate addon in firefox.

  • eric

    I stopped working again. I am on 1.2 and using API key. No error message return but just nothing comes out after selecting the words. Is something wrong?

  • Ed

    I have the same problem and the same question like eric

  • Johnson

    I also meet that must-refresh problem.

    I use hotkey to start Inline Translator, and stop it when I don’t need the translation service,
    I found after you’ve started Inline Translator ,you must refresh the page.Or else,it display nothing after you ‘ve select some words.I hope this bug or problem can be repaired.

    Waiting for the author’s reply

  • Johnson

    And I ‘ve use httpfox to see the detail of this issue

    The whole process is:
    1.Open a webpage like this article
    2.Use the hotkey or the toggle button to start Inline Translator
    3.Select words -> display nothing,httpfox shows that there is no new network requests
    4.Refresh the page ->Inline Translator now start working really,display the translation result,and httpfox shows a network request was send to microsoft api

  • http://miya.pe.kr 김군우

    eric, Ed. Is your Inline Translator work if turn on Inline Translator and refresh page again?

    Johnson. I wonder if all your problem is because of httpfox. Did you met must-refresh problem when you disable httpfox, too?

    Thank you all for report problems. :)

  • Johnson

    No,I ‘ve checked what you say.
    It is weird because it works now no matter httpfox is disabled or not.

    Thanks for your reply,I ‘ll pay attention to this issue and try to find how to reappear that.

  • ehsan

    hello, i need add farsi(persian) language,
    perevius versions had this language.
    but now i can’t find it in list
    even by bing translation is good for me.
    tnx

  • Gram

    안녕하세요. 개발하신 부가기능 덕분에 불여우를 더욱 잘 사용하고 있는 한 유저입니다^^;
    며칠전부터 Stumble을 써보고 있는데 Stumble을 클릭해서 이동한 웹페이지내에서는 Inline Translator 번역이 작동을 하지가 않아서 이렇게 피드백을 보내봅니다.

  • http://miya.pe.kr 김군우

    Gram님 안녕하세요~ Stumble이 뭔가요? 저는 처음 들어보는 이름이라 제가 테스트해볼 수 있게 관련 사이트나 다운로드 링크를 알려주시면 살펴볼 수 있을 것 같아요.

  • Gram

    http://www.stumbleupon.com
    사이트주소 남깁니다.

  • http://miya.pe.kr 김군우

    살펴보았는데요~

    가령 http://loldailyfun.com/wp-content/uploads/2012/02/Inspirational-Quotes_29_thumb.jpg 이런 이미지로 된 텍스트는 브라우저가 텍스트를 인식할 수 없기 때문에 번역이 불가능해요.

    혹시 텍스트로 된 페이지인데 안되는 경우라면 해당 페이지를 알려주시면 더 살펴볼께요.

  • mihail

    안녕하세요~ 덕분에 매우 편하게 인터넷 서핑을 하고 있습니다~ 그런데 요 며칠 전부터 계속
    ArgumentException: Invalid appId\u000d Parameter name: appId : ID=3737.V2_Json.Translate.34F3B92E
    이런게 뜨며 번역이 안되네요. 엡 id도 바꿔보고 리프레시도 해 봤는데 계속 똑같아요. 왜 이러는지 아시나요?

  • itUser
  • Johnson

    Hello,Could you please add a white list for this addon?
    It means the translate function will only enable when the users view the website in the white list.
    And it is better if the White list can support wildcard character and regular expression.
    So we can add urls quickly.

    Now I use the “Toggle inline translator” button to start it when I view sites like huffingtonpost.com and then stop it.
    I thought if it can start and stop automatically,it will provide a better user experience.

    Hope you can consider about it

  • Johnson

    I found a small problem of this addon.
    It will automatically change ” into /
    Can you solve that?

  • obeca

    Please update…

  • fun

    Please update, thank you!

  • http://www.facebook.com/eng.ahmedhamdy2121 Ahmed Hamdy

    It is not work with Windows Azure Marketplace?!nI followed your steps, but I got this Exception << image attached.

  • http://www.facebook.com/eng.ahmedhamdy2121 Ahmed Hamdy

    I followed your steps with Windows Azure Marketplace, but I am getting this Exception >> TranslateApiException: Cannot find an active Azure Market Place nTranslator Subscription associated with the request credentials. : ID=*****************

  • ashish

    I am getting below error…. can any one helpnTranslateApiException: Cannot find an active Azure Market Place nTranslator Subscription associated with the request credentials. : nID=3741.V2_Json.Translate.11189688

  • http://twitter.com/rogkwong Roger Kwong

    I encountered the same problem. Kindly help to resolve, thanks!nProblem Message reads: nnTranslateApiException:n Cannot find an active Azure Market Place Translator Subscription nassociated with the request credentials. : nID=0340.V2_Json.Translate.2F788910nTranslateApiException:n Cannot find an active Azure Market Place Translator Subscription nassociated with the request credentials. : nID=1035.V2_Json.Translate.2F78D90E

  • http://www.facebook.com/eng.ahmedhamdy2121 Ahmed Hamdy

    please fix it …. it is not working >> Exception: TranslateApiException: Cannot find an active Azure Market Place

  • mctenshi

    Hi, all. Sorry for late response. T_TnnnI just tested Inline Translator v1.3 with new Windows Live ID again and found no problems. But I noticed that when copy “Client secret” to Inline Translator’s options, sometimes some letters of “Client Secret” might be missing.nnnIf your Inline Translator doesn’t work, compare your client secret in options and registered client secret in Windows Azure Market. https://datamarket.azure.com/developer/applications

  • mick

    Hi,nfor me, it worked fine for a while after changing client id. nnot anymore: n’TranslateApiException: The Azure Market Place Translator Subscription associated with the request credentials has zero balance.’nnso it costs? fix known?

  • m.miri

    Please add Persian language to your application, nWe are waiting, thanks

  • 제희 조

    감사합니다. 그대로 따라하니 잘 되네요 ^^