Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 205
Joined: Sun Oct 24, 2010 12:13 am


Post by richardmac » Mon Mar 18, 2013 3:28 pm

I am looking for a way to translate a text field from spanish to english in LiveCode. Apparently it used to be possible to do this via Google Translate and a shell script, but Google put the kibosh on that. So I'm wondering if anyone has any other ideas? If I can figure out a solution I promise to post it!

Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1682
Joined: Sat Feb 28, 2009 11:49 pm

Re: Translate!

Post by sturgis » Mon Mar 18, 2013 3:42 pm

There is a google translate API but it costs unfortunately.

Instead, you might go to this address:

The words to translate go after the slash, however, if ios will allow you to have a hidden browser you can then use mobilecontroldo to execute javascript in the hidden browser (maybe) to change the text entered into the english field, and then read from the translated text in the spanish field. Not sure this will work but its worth a shot.

VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Location: New York

Re: Translate!

Post by endernafi » Mon Mar 18, 2013 4:54 pm

Hi Richard,

You have to use an API;
as Sturgis said, Google charges for its API for almost a year now.
The price is very reasonable, though; $20 for 1M chars...

WorldLingo's API is free but its translations are not as accurate as Google's.
Microsoft's, iTranslate4's translations are the same, i.e not much accurate.

I use Wordfast and Google's API in my translation jobs.
If you decide to use it, this link will give you a start.


~ Ender Nafi
~... together, we're smarter ...~

macOS Sierra • LiveCode 7 & xCode 8

VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 24
Joined: Wed Jul 10, 2013 6:34 pm

Re: Translate!

Post by Gurki » Thu Jan 04, 2018 12:09 pm

There is another translator with less languages than Google, but better translations: They have an API, just have a look here:
When I understand it well, smaller use is for free, larger textes have to been paid.

Post Reply

Return to “iOS Deployment”