8d97353d38
Motivated by the need to deploy static sites while having a good i18n support¹ ² @vinissimus developed [next-translate](https://github.com/vinissimus/next-translate). Here's the example ;) References: 1. https://github.com/vercel/next.js/discussions/10651 2. https://github.com/vercel/next.js/pull/12535#issuecomment-624317275
11 lines
206 B
JSON
11 lines
206 B
JSON
{
|
|
"allLanguages": ["en", "ca"],
|
|
"defaultLanguage": "en",
|
|
"currentPagesDir": "_pages",
|
|
"finalPagesDir": "pages",
|
|
"localesPath": "locales",
|
|
"pages": {
|
|
"*": ["common"],
|
|
"/": ["home"]
|
|
}
|
|
}
|