From cd839c98129a460bad6d3480d04fdd2d8e55c5bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= <raphael@srv3.rri.fr>
Date: Wed, 29 Jul 2015 17:11:52 +0200
Subject: [PATCH] Enable translation of strings returned by API

---
 api/index.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/api/index.php b/api/index.php
index facdf82c5..a8484ef0e 100644
--- a/api/index.php
+++ b/api/index.php
@@ -53,6 +53,8 @@
 		@session_start();
 	}
 
+	startup_gettext();
+
 	if (!init_plugins()) return;
 
 	$method = strtolower($_REQUEST["op"]);
-- 
GitLab