Detect User Language : Oracle Bots by Soham Dasgupta

image

Oracle Bot comes with a very sophisticated language detection and translation service. You can attach either a Microsoft or Google service to the environment and make use of it within your bot. Oracle Bots dev guide talks about it here.

But, these translation services are not free. So for my development purposes I created a custom component, which does the same for me but for FREE.
Introducing Yandex APIs (https://tech.yandex.com/translate/). It is simple and easy to use. And most importantly it is free.
Yandex supports over 90 different languages. The only thing you need to do is, register and create an API key for yourself.
Step 1:
Register and create an API key : https://translate.yandex.com/developers/keys
Step 2:
Download the custom component from my GitHub here.
Step 3:
Update the "detect_language.js" and add your key to the detectLanguage() function. Read the complete article here.

Developer Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.