google-translate

Google Translate service account 403 dailyLimitExceeded error

空扰寡人 提交于 2019-12-13 07:58:57
问题 I'm configuring a Node.JS server to use the Google Translate API. So far, I've done the following: Set up a Google account Add credit card and enable billing Create a project Enable Google Translate API for project Create two service accounts for project* and save the JSON key files *One service account for local development and one account for deployed application. Sample code (Typescript): import * as Translate from '@google-cloud/translate'; export async function translate(text: string, to

HTML concatenating text input with link

人盡茶涼 提交于 2019-12-13 04:02:10
问题 I've got the following code: <form> Comments: <input type="text" name="Scomments"><br> </form> <a href='http://translate.google.com/#en/nl/' + Scomments target="_blank">Translate your comment and verify it</a> I am trying to add the text entered in "SCOMMENTS" text input to the google translate link and open Google Translate in a new Tab. At the moment I am not able to reference the text entered into tle link. How can I concatenate these values? P.S.: That's my very first HTML code so i know

Google Translate REST API, getting the Nouns, Adjective,ect

霸气de小男生 提交于 2019-12-13 03:42:03
问题 I am using the Google Translate REST API with Embarcadero Delphi language. I wrote my own wrapper for the translate call > https://translation.googleapis.com/language/translate/v2 This was pretty straight forward and works fine. My only question is: When I use the public Google site to translate words, I will get a section that will show Nouns/Adjectives, etc. associated to the word. Example Translate Hebrew (iw) word of דָּוָה into English (en) The translated text I get via the API call and

Using c# to call google translator

冷暖自知 提交于 2019-12-12 21:47:20
问题 I have to write some C# code which will enable me to translate a text file saved on my computer, using Google Translator. I want to write code to do this, but i am not sure where to start. I am new to this topic, but I think i have to download Google Translator API, but I'm not sure where to download this from. Please help me with this problem. 回答1: There is actually an open source project hosted on CodePlex named "Free language translator and file converter" Here is the link: http:/

How to use Google Translate API With c++

拟墨画扇 提交于 2019-12-12 10:14:49
问题 I'm a beginner in C++ and using Google task API. How do I write a C++ program that accepts a word, then invokes Google Translate to translate it from English to French, then saves the resulted page to a local file? For example, if the user inputs "river", the program should invoke Google Translate to translate into French, the resulting page is: http://translate.google.com/#en|fr|River%0A This page should be saved. I read the official documentation through fully: http://code.google.com/apis

Translator service in sequoyah plugin of Eclipse

旧巷老猫 提交于 2019-12-12 02:44:05
问题 I have installed sequoyah plugin in eclipse. I am using its editor to translate my strings.xml file in Android project. Now when I right click the column in sequoyah text editor and click on 'translate column', I get the window which shows to select translator service, language to translate from and language to translate to. But I can not select any translator service as there is none in the list. So how can I install the translator service so that I can use in the way defined above? 回答1: The

Google translate does not translate menus

可紊 提交于 2019-12-12 02:14:00
问题 I am using the "Google translate my page". I placed the generated by google translate code and placed on my web-site (http://jewelryfashionstyle.com). It's all fine but the menu items and some other text do not get translated. What could be the cause? Sorry, forgot to add - it can't be translated only from other languages that are available under the google translate's dropdown. 来源: https://stackoverflow.com/questions/18259462/google-translate-does-not-translate-menus

Why is Google translator skipping some text in Python?

十年热恋 提交于 2019-12-11 18:57:31
问题 I am trying to translate text which is partly in Japanese and partly in English into English. My problem is that after applying the translate function, some text from the original text seems to be missing. As can be seen from the code and output, At present only SDS of about 20 to 30% of HAZMAT of the product is obtained seems to be missing from the output. Code translator.translate( 'At present only SDS of about 20 to 30% of HAZMAT of the product is obtained. Chemicals management (Japan) Qn

Difference between the google translate API

拈花ヽ惹草 提交于 2019-12-11 18:07:23
问题 I am building an Open Source Chrome extension based on Google translate (here). I have read the other questions about Google translate API (like this one and this one) but I still don't have my answer. I found several URLs for Google translate like these: https://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=fr&dt=t&q=father&ie=UTF-8&oe=UTF-8 https://clients5.google.com/translate_a/t?client=dict-chrome-ex&sl=en&tl=fr&dt=t&q=father It seems all the URL are a different

Google Transliteration Suggestion CSS not proper

天涯浪子 提交于 2019-12-11 17:39:20
问题 I followed the steps to solve the problem of Transliteration API not being served over HTTPS: Javascript google transliterate API not served over https I extracted Google JSAPI & Transliteration.I.js to my own file and added https. But After that, the suggestions pop up in a div at the bottom of the page and not like the usual dropdown. Would appreciate some help. 回答1: Here is a step by step process: First, there's a link to API: <script type="text/javascript" src="https://www.google.com