i18n with SSG?
See original GitHub issueI’m wondering how to approach i18n with SSG, having /{locale}/
namespace in the URL.
I guess that’s something out of scope for vitesse to do on its own? Too opinionated approach already?
Afaik there’s three potential things to do:
- Add a locale route
- Add meta tags for alternative URLs
- Language detection -> redirection
I’m curious if someone else was dealing with this already
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Next.js (SSG) & i18n - J Paul Lescouzères
Adding multilingual support (i18n) for a site or a web application is a real stake, as it often raises important questions such as...
Read more >How to manage Internationalization with NextJS SSG
How to manage Internationalization with NextJS SSG ... and the NextJS documentation explains that i18n routing is not supported for SSG.
Read more >next.js: i18n with static sites - DEV Community
Sounds nice and being a fan of react-i18next I looked into next-i18next and was quite happy to see that they support Static Generation...
Read more >[Proposal] i18n for SSG + next export #14246 - GitHub
Currently, integrating i18n libraries with Next.js and working with Automatic Page Optimization (either SSG, or totally static) is quite ...
Read more >How to implement i18n localization in next for static site ...
I have implemented two different third party packages to achieve localization for static site generated (SSG) pages, which includes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have some WIP, I’ll see to what degree it can be generalized and merged into
vitesse
. If anything, I can add a note intoREADME.md
with a few pointers.@MartinMa You need to join vite’s discord server first, here is the link: https://chat.vitejs.dev/