diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php index fb8b79b6..1f15ae7e 100644 --- a/plugins/kolab_files/lib/kolab_files_engine.php +++ b/plugins/kolab_files/lib/kolab_files_engine.php @@ -936,6 +936,9 @@ class kolab_files_engine // some HTTP server configurations require this header $this->request->setHeader('accept', "application/json,text/javascript,*/*"); + // Localization + $this->request->setHeader('accept-language', $_SESSION['language']); + // set Referer which is used as an origin for cross-window // communication with document editor iframe $host = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'];