Page 1 of 1

Language Translation Function

Posted: Sun Jun 10, 2018 9:40 pm
by hmgchang
Good Morning Friends,

Does anyone has a language translation function like :

Code: Select all

cNewString := SpainToEnglish( cString)
or
cNewString := hb_LangTrans( cString, "EN", "SP")
TIA

best rgds,
Chang

Re: Language Translation Function

Posted: Mon Jun 11, 2018 4:19 am
by bpd2000
You can incorporate code in HMG, I am not expert in C
Refer link
https://ctrlq.org/code/19909-google-translate-api

Re: Language Translation Function

Posted: Mon Jun 11, 2018 6:51 am
by mlnr
Hi,
I don't find Pablo Cesar's code with google translate API in this forum, but i remember that he posted his solution at last year.
Maybe somebody can find it here.

Re: Language Translation Function

Posted: Mon Jun 11, 2018 8:58 am
by mlnr
Chang, please check it, maybe useful.viewtopic.php?f=15&t=5194&p=50402#p50402

Re: Language Translation Function

Posted: Mon Jun 11, 2018 9:06 am
by hmgchang
Yes... Thanks Pablo and Gabor

its very useful... thanks a lot...

best rgds,
Chang