Since this will re-use a lot of the logic from the regular paraglide-js init cli it makes sense to somehow expose that & reuse it in the adapter init.
Development Status
✅ Initialize ParaglideJS
✅ Add the Plugin to the next.config.js file
✅ Create the lib/i18n.ts file
✅ Add the middleware.ts file
✅ Add the dependencies to package.json
✅ Add the LanguageProvider component to app/layout.tsx ✅ Update Documentation 🚧 e2e tests
Eg:
This should:
Since this will re-use a lot of the logic from the regular
paraglide-js init
cli it makes sense to somehow expose that & reuse it in the adapter init.Development Status
✅ Initialize ParaglideJS ✅ Add the Plugin to the
next.config.js
file ✅ Create thelib/i18n.ts
file ✅ Add themiddleware.ts
file ✅ Add the dependencies topackage.json
✅ Add the
LanguageProvider
component toapp/layout.tsx
✅ Update Documentation
🚧 e2e tests