From 4c9dc5fa1f659d188307d9169abd92a15e89860c Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Mon, 10 Oct 2016 16:29:40 +0800
Subject: Add support of Italian, Turkish, Russian, Dutch, Croatian, Polish
locales
---
app.js | 2 +-
public/views/index.ejs | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/app.js b/app.js
index e18a2f0b..586313f3 100644
--- a/app.js
+++ b/app.js
@@ -94,7 +94,7 @@ app.use(helmet.hsts({
}));
i18n.configure({
- locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt'],
+ locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl'],
cookie: 'locale',
directory: __dirname + '/locales'
});
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 61544c86..561a5987 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -154,6 +154,12 @@
+
+
+
+
+
+
--
cgit v1.2.3