Back

Translate

JS Py
Hello World

Translates “Ok” and “Cancel” buttons created after this method to the passed strings.

app.Translate( Ok, Cancel )

Example - Translate Buttons

function OnStart()
{
    app.Translate("new cancel", "new ok");
    app.Alert("my message");
    app.ShowTextDialog("Type some text", "");
}
from native import app

def OnStart():
    app.Translate("new cancel", "new ok")
    app.Alert("my message")
    app.ShowTextDialog("Type some text", "")
    Copy     Copy All       Run      
String