summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js2
-rw-r--r--locales/sv.json (renamed from locales/sv_SE.json)0
-rw-r--r--public/views/index.ejs1
3 files changed, 2 insertions, 1 deletions
diff --git a/app.js b/app.js
index 9e4d54e7..0c66cc27 100644
--- a/app.js
+++ b/app.js
@@ -95,7 +95,7 @@ app.use(helmet.hsts({
}));
i18n.configure({
- locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi'],
+ locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv'],
cookie: 'locale',
directory: __dirname + '/locales'
});
diff --git a/locales/sv_SE.json b/locales/sv.json
index c1d89bd1..c1d89bd1 100644
--- a/locales/sv_SE.json
+++ b/locales/sv.json
diff --git a/public/views/index.ejs b/public/views/index.ejs
index e97f9385..4d12a630 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -164,6 +164,7 @@
<option value="pl">język polski</option>
<option value="uk">Українська</option>
<option value="hi">हिन्दी</option>
+ <option value="sv">svenska</option>
</select>
</div>
</div>