Browse Source

Enable translation of strings returned by API

Raphaël Rochet 4 years ago
parent
commit
cd839c9812
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api/index.php

+ 2 - 0
api/index.php

@@ -53,6 +53,8 @@
 		@session_start();
 	}
 
+	startup_gettext();
+
 	if (!init_plugins()) return;
 
 	$method = strtolower($_REQUEST["op"]);