Language Translation Function

Moderator: Rathinagiri

Post Reply
User avatar
hmgchang
Posts: 240
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia
Has thanked: 1 time
Been thanked: 4 times

Language Translation Function

Post by hmgchang » Sun Jun 10, 2018 9:40 pm

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
Just Hmg It !

User avatar
bpd2000
Posts: 1035
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 170 times
Been thanked: 83 times

Post by bpd2000 » Mon Jun 11, 2018 4:19 am

You can incorporate code in HMG, I am not expert in C
Refer link
https://ctrlq.org/code/19909-google-translate-api
BPD
Convert Dream into Reality through HMG

mlnr
Posts: 85
Joined: Fri Aug 28, 2015 1:52 pm
DBs Used: DBF
Location: Hungary
Has thanked: 26 times
Been thanked: 9 times

Post by mlnr » Mon Jun 11, 2018 6:51 am

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.
Best regards,
Gabor

mlnr
Posts: 85
Joined: Fri Aug 28, 2015 1:52 pm
DBs Used: DBF
Location: Hungary
Has thanked: 26 times
Been thanked: 9 times

Post by mlnr » Mon Jun 11, 2018 8:58 am

Chang, please check it, maybe useful.viewtopic.php?f=15&t=5194&p=50402#p50402
Best regards,
Gabor

User avatar
hmgchang
Posts: 240
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia
Has thanked: 1 time
Been thanked: 4 times

Post by hmgchang » Mon Jun 11, 2018 9:06 am

Yes... Thanks Pablo and Gabor

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

best rgds,
Chang
Just Hmg It !

Post Reply