Parcourir la source

Enable translation of strings returned by API

Raphaël Rochet il y a 9 ans
Parent
commit
cd839c9812
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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"]);