Translation of texts from the source language to the target language with Google Translate (free)
Sorry, the class and example are now attached for download.
SAMPLES:
Local to Engles
Engles to italian
Regards
Sorry, the class and example are now attached for download.
B4X:
Dim Translate As clsGoogleTranslate
Translate.Initialize
'Local to engles
Wait For (Translate.Target("en").Text(B4XFloatTextField1.Text)) Complete (Result As String)
'Engles to italian
Wait For (Translate.Source("en").Target("it").Text(B4XFloatTextField1.Text)) Complete (Result As String)
B4XFloatTextField2.Text = Result
SAMPLES:
Local to Engles
B4X:
Wait For (Translate.Target("en").Text(B4XFloatTextField1.Text)) Complete (Result As String)
Engles to italian
B4X:
Wait For (Translate.Source("en").Target("it").Text(B4XFloatTextField1.Text)) Complete (Result As String)
Regards
Attachments
Last edited: