Skip to content

Instantly share code, notes, and snippets.

@vman
Last active September 1, 2016 21:58
SharePoint Online JSOM: Disable Multi Lingual and Remove all UI Languages
(function () {
"use strict";
var context = SP.ClientContext.get_current();
var web = context.get_web();
//Remove all UI languages
web.set_isMultilingual(false);
web.update();
context.executeQueryAsync(function(){
console.log("MUI Disabled");
},function(sender,args){
console.log(args.get_message());
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment