From 2367797c17aafe0f0570477ff653894f3033e97c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Tue, 24 Feb 2015 17:42:26 +0100 Subject: Respect http header 'Accept-Language' on ocs and remote.php calls --- remote.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'remote.php') diff --git a/remote.php b/remote.php index 80173441e90..101b19a807d 100644 --- a/remote.php +++ b/remote.php @@ -29,6 +29,9 @@ try { exit; } + // force language as given in the http request + \OC_L10N::setLanguageFromRequest(); + $file=ltrim($file, '/'); $parts=explode('/', $file, 2); -- cgit v1.2.3