Fixed locale for AJAX requests on addWidget.