瀏覽代碼

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"]);