Home Applications Cache-translate

Cache-translate

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
3
0 reviews
0
Awards
173
Views
0
IPM installs
0
1
Details
Releases
Reviews
Issues
Package for translating text, made during the hackathon in Czech Republic 2.02-3.02

What's new in this version

Initial Release

Cache-translate

Package for translating text, made during the hackathon in Czech Republic 2.02-3.02

Usage

After importing classes inside src directory, execute the following inside terminal
(This example shows how to translate from English to Russian):

set tr = ##class(TRL.Translator).Translate("en","ru","Some text")
w tr
Здравствуйте!

If you have your own key to use Yandex Translate API, write it as fourth parameter in method Translate()

set APIKey = "trnsl.1.1.20170201T221936Z.49cebd838c47a0a3.0c13eb7fa04797d9c5b7b784de147213e57fc6a0"
set tr = ##class(TRL.Translator).Translate("en","ru","Some text", APIKey)
w tr
Здравствуйте!
Made with
Version
1.21.301 Jun, 2018
Category
Technology Example
Works with
Caché
First published
27 Sep, 2018
Last checked by moderator
02 Jul, 2024Works