EngineeringTech
Log In
Community
Classroom
Calendar
Members
Map
Leaderboards
About
Log In
2
Karol Szykula
🔥
2d •
General discussion
Steps to Configure the next-intl Package in Next.js
Hello engineers
Here are the steps I followed to add and configure the next-intl package in my Next.js project:
Run npm install next-intl.
Add the next-intl plugin to next.config.ts.
Create proxy.ts and add the routing middleware.
Create i18n/routing.ts to define routing.
Create i18n/request.ts to define the getRequestConfig function.
Create i18n/navigation.ts to add next-intl wrappers for Next.js navigation components.
Move all routes to the app/[locale] path.
Add the generateMetadata function to app/[locale]/layout.tsx.
I also made some minor adjustments: I added a favicon and changed the typography component names to lowercase.
All changes can be checked here
[link]
.
Like
2
0 comments
2
Steps to Configure the next-intl Package in Next.js
powered by
EngineeringTech
skool.com/szykulatech-3240
We focus on JS/TS, React, Next.js, Supabase, shadcn/ui, Tailwind CSS, and deployments on Netlify. We focus on fast shipping.
7
Members
0
Online
1
Admin
JOIN GROUP
Suggested communities
Voice AI Accelerator
KubeCraft Career Accelerator
𝙂𝙊𝙊𝙎𝙄𝙁𝙔 🍓🐛🦋🌈⭐️🩷
AI Automation Society Plus
İNGİLİZCE KONUŞMA KAMPI
Build your own community
Bring people together around your passion and get paid.
Get started
Powered by