The Second Site
This is the description for the second site.
Hosting multiple domains with SSG (getStaticProps) using Next.js’ i18n system
Switch site (locale
)
Currently: site2
Go to: site/domain 1
Switch language (pseudoLocale
)
Currently: en
Switch locale to: se
Props
locale (useRouter): {
"locales": [
"site1",
"site2"
],
"locale": "site2",
"defaultLocale": "site1"
}
pseudoLocale: {
"pseudoLocales": [
"en",
"se"
],
"pseudoLocale": "en"
}