Skip to content

Conversation

@Rarebuffalo
Copy link

Community Submission: Next.js + Lingo.dev i18n Starter

This PR adds a new community project under:

community/nextjs-lingo-i18n-starter

What this project demonstrates

  • Next.js App Router language routing using dynamic segment: src/app/[lang]
  • Working routes for:
    • /en
    • /hi
    • /es
  • A Language Switcher to change locale via routing
  • JSON dictionary based translation structure:
    • src/locales/en.json
    • src/locales/hi.json
    • src/locales/es.json
  • Lingo.dev CLI integration using i18n.json for automatic translations:
    • en → hi
    • en → es

🚀 How to run locally

cd community/nextjs-lingo-i18n-starter
npm install
npm run dev

@sumitsaurabh927
Copy link
Contributor

hi @Rarebuffalo your PR is missing changeset. Please add the changeset by following instructions here. Make sure you've joined our discord to see this message. If you haven't you need to:

  1. Join our discord here
  2. Go through the instructions to add changeset and add it to your PR

Please also sign your commits

@Rarebuffalo
Copy link
Author

Added the required changeset and pushed the update

@Rarebuffalo
Copy link
Author

Added required changeset and pushed update.
Added a signed commit (Verified).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants