This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
Translate
Hello World
Translates
“Ok”
and
“Cancel”
buttons created after this method to the passed strings.
app.Translate(
Ok
,
Cancel
)
Example - Translate Buttons
click to expand contents
function
OnStart
(
)
{
app
.
Translate
(
"new cancel"
,
"new ok"
)
;
app
.
Alert
(
"my message"
)
;
app
.
ShowTextDialog
(
"Type some text"
,
""
)
;
}
Copy
Copy All
Run
String
loading