Yandex Translate problem

2,900 views
Skip to first unread message

Giannis Kostas

unread,
Jan 31, 2015, 11:03:09 AM1/31/15
to mitappinv...@googlegroups.com
Hello,I created a translate app,but when i download to my phone to test it,I get a 2202 or smething error with this text "Translation service isnt available".

What I have done wrong?Does the translator require a yandex API key?(havent added an api key as there was not a textbox of that in the component properties.)

Taifun

unread,
Jan 31, 2015, 11:10:46 AM1/31/15
to mitappinv...@googlegroups.com
you do not need your own API key, see also https://groups.google.com/d/msg/mitappinventortest/C5KFfAw2cx8/XiJGyGGCDtQJ

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         


Giannis Kostas

unread,
Jan 31, 2015, 1:03:35 PM1/31/15
to mitappinv...@googlegroups.com
Message has been deleted

Taifun

unread,
Jan 31, 2015, 2:23:16 PM1/31/15
to mitappinv...@googlegroups.com
please add the screenshot as png or jpg image directly into this post, some people do not like to click onto unknown links...
Taifun


Giannis Kostas

unread,
Jan 31, 2015, 2:26:50 PM1/31/15
to mitappinv...@googlegroups.com
Its just gyazo image,nothing malicious.

Did you see it?

Giannis Kostas

unread,
Jan 31, 2015, 2:32:49 PM1/31/15
to mitappinv...@googlegroups.com
Ok sorry here is the image


Taifun

unread,
Jan 31, 2015, 2:47:09 PM1/31/15
to mitappinv...@googlegroups.com
what is your source language?
the example works for me translating english to russian
See http://api.yandex.com/translate/ for more information, including the list of available languages and the meanings of the language codes and status codes. 
Taifun

Giannis Kostas

unread,
Jan 31, 2015, 2:54:45 PM1/31/15
to mitappinv...@googlegroups.com
It says I need to have an active link to yandex site in the app screen

Taifun

unread,
Jan 31, 2015, 3:12:59 PM1/31/15
to mitappinv...@googlegroups.com
you forgot to tell us your source language...
I prepared a snippet for you, see here How to use the YandexTranslate component
Taifun


Giannis Kostas

unread,
Jan 31, 2015, 3:24:31 PM1/31/15
to mitappinv...@googlegroups.com
How I do this if,then,else?

Control blocks only have if then,without else

Sorry if noob question,but I am new

Giannis Kostas

unread,
Jan 31, 2015, 3:37:07 PM1/31/15
to
Still the same error."Error 2202:The translason service is not available,please try again later"

There is no specified source language,it says that yandex automatically recognise the language of the text the user inputs in the textbox.

Abraham Getzler

unread,
Jan 31, 2015, 9:50:54 PM1/31/15
to mitappinv...@googlegroups.com
To add an ELSE to an IF,
use the blue square and drag  it in to the 
voodoo doll.
ABG

Giannis Kostas

unread,
Feb 1, 2015, 4:29:28 AM2/1/15
to mitappinv...@googlegroups.com
Translate still doesnt work in my app,still the 2202 error.

Taifun

unread,
Feb 1, 2015, 9:29:13 AM2/1/15
to mitappinv...@googlegroups.com
you need internet access for the Yandex translate component
Taifun

Giannis Kostas

unread,
Feb 1, 2015, 12:09:25 PM2/1/15
to mitappinv...@googlegroups.com
It has internet access

Taifun

unread,
Feb 1, 2015, 12:23:06 PM2/1/15
to mitappinv...@googlegroups.com
do you use a device for your tests? if yes, which device and Android version? or do you use the emulator?
did you try to open a URL with the webviewer to check, if you have internet access?
I get the error 2202 if my device is in flight mode...
you still did not tell us your source language... in my example I used english as source language and russian as target language... probably you are using an exotic source language, which is not available?
Taifun
Reply all
Reply to author
Forward
0 new messages