Google Translate Plugin

Is this Possible to add Google Translate Plugin ? A Plugin which will translate screen is users desirable language .

No. That is your job.

2 Likes


See this post

Or you can use Google Translate API using this method
http://appinventor.mit.edu/explore/blogs/karen/2016/09-1.html

EDIT: THIS IS NOT WORKING FOR GOOGLE TRANSLATION, BECAUSE GOOGLE DON‘T ALLOW THIS PROCEDUR

There is an option, but maybe you need some knowledge to do that:

  1. You can use this url:

https://translate.google.com/?hl=en#[LANGUAGECODE]/[LANGUAGECODE2]/[TEXT]%20[TO]%20[TRANSLATE]

for example:

https://translate.google.com/?hl=en#en/de/this%20is%20a%20translation


  1. After that you must parse the html code from the translated Textbox:

STRING/TEXT:
HTML-CODE

START:
<span id="result_box" class="short_text" lang="de"><span class="">

END:
</span>

(The Parsed string looks like this:
<span id="result_box" class="short_text" lang="de"><span class="">Das ist eine Übersetzung</span>)


I don’t know if Google allows this method, but this is one way to use Google Translate

I hope you understood me, otherwise I can do a Guide if more people want that…

  • Yes, please
  • Not useful for me

0 voters

2 Likes

Thank you very much but it seems to be complicated.

I tried it and it looks like that Google don’t allow this.

I think you must wait for the Google Translation Component…

1 Like

Okay :slight_smile: or makeroid launch their own translator API :smile:

2 Likes

I think this method is working, as it seems to be using Google Translate API instead of Translate.google.com, but you need to regster account and there is a limit to use it for FREE, if you are using it for your app, you may need to pay for it

Thank you let me give a try and will inform you

I am not sure of that but I believe you can easily do it using Google Translation’s API

There is only one thing: It’s paid, costs 20$ a month for until 1.000.000 letters if I am not mistaken.

You can see by yourself here: Cloud Translation API documentation  |  Cloud Translation API  |  Google Cloud

I believe without using the api it’s not impossible but it is sooooo hard that is better not to use hehe

there is a google translate plugin just like the yandex one and it does not need an api key toohttps://community.kodular.io/t/free-google-translate-extension/88094