2017년 5월 16일 화요일

Translator Issue


I found an issue in Yandex Translator in MIT App-inventor 2.It doesn't translate from English to Indian languages (like Hindi,Tamil,Telugu etc....).when I try to translate , It shows error 2202 . I use language codes to translate one language to another language .Why it shows that error? 

--
It appears Yandex does not yet support those languages perhaps  Error 2202 is frequently used when a user name (perhaps language code) is invalid.

Some of the Yandex language codes from

Yandex Country Codes unofficial
ar =Arabic
az =Azerbaijani
be =Belarusian
fr =French
he =Hebrew
hr =Croatian
nl =Dutch
no =Norwegian
pl =Polish
bg =Bulgarian
bs =Bosnian
ca =Catalan
cs =Czech
da =Danish
de =German
el =Greek
en =English
es =Spanish
et =Estonian
fi =Finnish
hu =Hungarian
hy =Armenian
id =Indonesian
is =Icelandic
it =Italian
ka =Georgian
lt =Lithuanian
lv =Latvian
mk =Macedonian
ms =Malay
mt =Maltese
pt =Portuguese
ro =Romanian
ru =Russian
sk =Slovak
sl =Slovenian
sq =Albanian
sr =Serbian
sv =Swedish
tr =Turkish
uk =Ukrainian
vi =Vietnamese
zh =Chinese

unless  Hindi,Tamil,Telugu were added since this tutorial was written 

Poor Richard…an AI2 Multilingual Tip of Day app and Tutorial using TTS and Yandex Translate

Where are you getting information that Hindi,Tamil,Telugu are among Yandex supported languages Sai?

--
Please keep the conversation in the forum Sai.  Thank you.

You eMailed   In that case how i translate indian(Hindi,Tamil,Telugu) languages using yandex translator ? please give solution for this...

Translating an app to multiple languages is not difficult, see the tutorial here  

Polyglot … a multilingual tutorial for App Inventor 2

The technique involves in the developer providing translations for every component, label and text in the app.

If a language is not in Yandex's lexicon, you may have to use that method.     I know of no other translation scheme that can be used with App Inventor2, perhaps another user will provide specific advice.

If you want automatic translation of all text, that might not be possible with App Inventor for the languages you are interested in.   A possibility might be to use the ActivityStarter and point to the Google Translate page  https://www.google.com/search?q=google+translate&oq=google+translate&aqs=chrome..69i57j69i64.3311j0j4&sourceid=chrome&es_sm=93&ie=UTF-8... awkward but this could  work for you.  Also you might use AI2 in conjunction with  https://play.google.com/store/apps/details?id=com.google.android.apps.translate&hl=en  

This article shows which languages are supported by Google Translate  https://en.wikipedia.org/wiki/Google_Translate.   I think Hindi,Tamil,Telugu are included.

Edit:  I just found the  'official' list of supported Yandex languages --     https://help.yandex.com/webmaster/robot-workings/supported-languages.xml    .  This updated list shows you cannot use Yandex to do what you want to do.

--

댓글 없음:

댓글 쓰기