aisingapore / TagUI

Free RPA tool by AI Singapore
Apache License 2.0
5.63k stars 583 forks source link

How to auto translate text with TagUI? - a few good ideas from @ronisc user #844

Closed mapofthe closed 4 years ago

mapofthe commented 4 years ago

Hello! I need to get text from one field on web page, then translate it from English to Russian and paste it to another field. Can TagUI do it? I need it to repeat many times

ronisc commented 4 years ago

Hi,

I am new to TagUI, but as far as I know TagUI is using a single chrome instance. So if you want to implement switching between browsers, it will be a combination of the TagUI Chrome instance together with using computer vision and flip between windows and work with the other window. In the TagUI Chrome you will be able to use xpaths and web actions, but for the other window you will need to simulate a user.

Should be doable.

Another option, If you have some development background, you can use API for the translation. Microsoft Azure is offering a good API REST service with a free tier.

Then you can use https://github.com/tebelorg/RPA-Python to implement your logic,

Hope that helpful.

kensoh commented 3 years ago

Hi @mapofthe and @ronisc , sorry I was away the past few months - https://github.com/tebelorg/RPA-Python/issues/144

What @ronisc are good options, in a scenario when translation has to happen live on the same page. There's another way by invoking another webpage and using popup step to use Google Translate to do the translation. But that is very hackish.