SDL's Language Cloud Machine Translation API provides self-learning machine translation for translating content and text. The SDL Language Translation block enables you to translate text in-motion, opening up the possibilities for multilingual realtime chat applications, live-blogging, social media, and more.
This block calls the SDL API's for language translation and amends the information into the stream.
To learn more about Diffbot API and getting your production keys, visit SDL Registration.
Users wishing to pay by credit card can subscribe to one of the publicly available packages; details of which can be found here: http://www.sdl.com/languagecloud/machine-translation/pricing.html.
If these packages do not meet your requirements or you wish to pay by another method then please contact us with your requirements by filling out this form: http://www.sdl.com/cxc/language/contact/.
Input Channel: sdl-channel (configurable) If the message contains the "text", "to", and "from" fields, the block will perform a translation of the text.
{ "text": "Hello", "from": "eng", "to": "fra" }
The translated text returned from SDL will be appended into the response for clients
{ "text": "Hello", "from": "eng", "to": "fra", "translation": "Bonjour" }
Need help? Contact PubNub Support.
Copyright (c) 2018 PubNub
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.