You create a publishing site collection and configure it for anonymous use. The Machine Translation Service (MTS) application is configured and available.
New pages in the site collection must be translated immediately to other languages by using the SharePoint Variations feature and the MTS application.
You need to configure the MTS application to perform translations synchronously.
Which code segment should you use?

Correct Answer: D
Explanation/Reference:
asyncJob SP.Translation.SaveBehavior.alwaysOverwrite
Example:
To translate a single file asynchronously:
JScript
var asyncJob;
var clientContext = new SP.ClientContext("serverRelativeUrl");
var contextSite = clientContext.get_site();
asyncJob = SP.Translation.TranslationJob.newObject(clientContext, "cultureID"); asyncJob.set_outputSaveBehavior(SP.Translation.SaveBehavior.alwaysOverwrite); Reference: Machine Translation Services in SharePoint 2013