mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-04 19:51:51 +02:00
Add new locales (#302)
This commit is contained in:
parent
168f70aa2b
commit
9f6ae30c00
13 changed files with 431 additions and 20 deletions
|
@ -3,7 +3,19 @@ const path = require("path");
|
|||
module.exports = {
|
||||
i18n: {
|
||||
defaultLocale: "en",
|
||||
locales: ["en", "es", "de", "fr", "it", "ko", "sv", "pt", "pt-BR"],
|
||||
locales: [
|
||||
"en",
|
||||
"es",
|
||||
"de",
|
||||
"fr",
|
||||
"it",
|
||||
"ko",
|
||||
"sv",
|
||||
"pt",
|
||||
"pt-BR",
|
||||
"hu",
|
||||
"zh",
|
||||
],
|
||||
localePath: path.resolve("./public/locales"),
|
||||
reloadOnPrerender: process.env.NODE_ENV === "development",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue