I built a workflow to translate from Portuguese to English, using google translate.
It is working fine for languages without accent (ie, from English to portuguese).
In summary, I created this:
- replace empty space between letters with %20 and create a variable [text].
- open the in app browser with the URL https://translate.google.com/#pt/en/[text]
But Portuguese has several accents and I need a simple way to remove all of them and replace with the same letter, but without accent.
Example:
Replace é to e
Replace à to a
Etc
Anyone has some idea on how to do that?
Is there a regular expression method to handle this?
Or do I need to create a find and replace workflow for each of the words?
Thanks