1. GitHub Repository
2. Demo
Deploy to Vercel by Yourself
2. Features Included:
- One-click Vercel deployment for Next.js projects.
- Multi-language framework (using Next.js built-in i18n).
- Multi-language translation files can be split for better management and performance.
- Google Analytics integration (configure ID to use).
- Canonical URL configuration.
- Site Title configuration & one-click Vercel deployment for open-source code.
3. Benefits:
- Reduces learning curve for Next.js multi-language setup; ready to use out-of-the-box.
- Saves time on installing basic packages and configuration.
4. How to Use:
- Modify configurations in
src\config\site.ts
. - Modify the site icon and
sitemap.xml
in thepublic
directory. - Add new translation files
<1> After writing the corresponding translation files in messages, add in src\i18n\request.ts:
Demo: (await import(../../messages/${locale}/demo.json)).default,
Add new translation file
<2> Then add in the corresponding page (usually page.tsx):
const t = useTranslations('Home');
Get translation object
5. Donate or Connect


6. Special Thanks
Thanks to GeFei for teaching Google SEO. Search for [GeFei] on WeChat to find the relevant public account, which contains a lot of Google SEO insights worth following.[哥飞]