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
@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
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
Thanks for your reply @ricardo pereira
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.
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
Hi Naveen kumarasamy,
As per your scenario of translating at runtime, you can refer to the below forum posts:
https://www.outsystems.com/forums/discussion/66699/how-to-dynamically-translate-the-web-application-is-it-possible/
https://www.outsystems.com/forums/discussion/12083/how-to-translate-arabic-or-any-right-to-left-script-in-outsystems-apps-v2/
https://www.outsystems.com/forums/discussion/67182/dynamically-load-a-translation-from-the-dictionary/
Hope this will help you.
Thanks & Regards.
Thanks for your reply @Piyali Saha
hi @Harshit Nag,
Thanks Suggested API is Working fine