153
Views
8
Comments
How to translate in Runtime Dynamically?

Hi all,

Does anyone Know How to translate in runtime from English to Arabic? 

Example:

If a type English word is in a textbox  near the textbox should give Arabic translate words only in the textbox

Many thanks for considering my request.

Regards,

Naveen Kumarasamy


UserImage.jpg
Anjali Choudhary

@Naveen,

You can use this API to translate text for any language. provide first 2 letter of code any language in from and to parameters.

Refer the attached language code file or.  Link

https://api.mymemory.translated.net/get?q={Text}&langpair={from}|{to}

Thanks

2021-03-05 13-56-11
Ricardo Pereira
 
MVP

Hi Naveen,

You can use this component too:

https://www.outsystems.com/forge/component-overview/7366/google-translate-connector-lite

You just need to give in the input of the Service Action the text to translate and the language.

Hope this can help.


Best regards,

Ricardo

2021-09-05 13-08-37
Naveen Kumarasamy

Thanks for your reply @ricardo pereira 

2021-09-05 13-08-37
Naveen Kumarasamy

Hi @Harshit Nag ,

Thanks for the reply you mentioned API throws a "Error Executing Test. The operation has timed out" error

PFA for  your reference

@Ricardo Pereira thanks for the reply let me check.


Regards,

Naveen Kumarasamy

forge.PNG
UserImage.jpg
Anjali Choudhary

@Naveen,

May be you have try in other way as well in my case its working fine 

https://api.mymemory.translated.net/get?q=Hello&langpair=en|ar

Thanks

2021-09-05 13-08-37
Naveen Kumarasamy

Thanks for your reply @Piyali Saha 

2021-09-05 13-08-37
Naveen Kumarasamy

hi @Harshit Nag,

Thanks Suggested API is Working fine

Regards,

Naveen Kumarasamy

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.