@@ -49,6 +49,14 @@ module.exports = function(crowi, app, req, locals) {
return crowi.xss.process(Config.appTitle(config));
};
+ /**
+ * return system language
+ */
+ locals.systemLang = function() {
+ const config = crowi.getConfig();
+ return Config.systemLang(config);
+ };
+
/**
* return true if enabled
*/