Add Swedish locale (#244)

* Add Swedish locale

* Stop reload when changing language

* Add translation

* Remove unused
This commit is contained in:
Luke Vella 2022-07-26 18:50:10 +01:00 committed by GitHub
parent 0546ed44a9
commit 2bacb67beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 194 additions and 14 deletions

View file

@ -3,7 +3,7 @@ const path = require("path");
module.exports = {
i18n: {
defaultLocale: "en",
locales: ["en", "de", "fr"],
locales: ["en", "de", "fr", "sv"],
localePath: path.resolve("./public/locales"),
reloadOnPrerender: process.env.NODE_ENV === "development",
},