Allows to translate a text of a defined origin language to a defined destination language.
1 google.translate
<google.translate>
<from /> +
<to /> +
<text /> +
</google.translate>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Efrom | String | Language of the text you want to translate. | |||
Eto | String | Language to which you want to translate the text. | |||
Etext | String | Text which you want to translate. |
Returns | |
---|---|
Type | Description |
String | Translated text. |
Example
Copy
<xsql-script name='translate'> <body> <google.translate> <string>es</string> <string>en</string> <string>Hola</string> </google.translate> </body> </xsql-script>