diff --git a/js/script.js b/js/script.js index e1559294b..822d5186e 100755 --- a/js/script.js +++ b/js/script.js @@ -83,7 +83,7 @@ $(function(){ url: OC.linkToOCS('apps/activity/api/v2/activity', 2) + OCA.Activity.Filter.filter + '?format=json&previews=true&since=' + self.lastGivenId, type: 'GET', beforeSend: function(xhr) { - xhr.setRequestHeader("Accept-Language", OC.getLocale()); + xhr.setRequestHeader("Accept-Language", OC.getLanguage()); }, success: function(response, status, xhr) { if (status === 'notmodified') {