Hi,
I don't know how to localise the messageBox, I would have thought you could, but you do have more control when you use a custom dialog, something like;
function dialog()
var dialogDescriptor =
description:
name: "dailog1",
elements: [
type: "static_text",
name: "Something in french",
},
type: "ok_cancel",
ok_name: "Oui",
cancel_name: "Non",
var dialogObject =
execDialog: function() { return app.execDialog(dialogDescriptor); },
return dialogObject;
var d = dialog();
var result = d.execDialog();
In this case the result variable will be equal to "ok" or "cancel".
Regards
Bruce