浏览代码

Enable translation of strings returned by API

Raphaël Rochet 8 年之前
父节点
当前提交
cd839c9812
共有 1 个文件被更改,包括 2 次插入0 次删除
  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"]);