Add Multi Language Support in Next.js 15 Project
ฝัง
- เผยแพร่เมื่อ 15 ต.ค. 2024
- Configure next.js 15 with next-intl and support multiple language for texts inside server components, client components and browser tabs. Building project from scratch, installing required packages, configure files, building ui and bind multi-language text on multiple components.
00:05 Demo
02:00 Create next.js 15 project
04:58 Install packages
05:40 Configurations
12:30 Configure layout
17:00 Show language text
19:40 Build Navbar
24:00 Build language selector
30:00 Update browser tabs text
#i18n #nextjs15 #next-intl #nextjs
Follow Whatsapp Channel:
whatsapp.com/c...
React tutorials:
• React.js Tutorials
JavaScript Tutorials and Projects:
• JavaScript Tutorial an...
Angular Tutorials:
• Angular 16 Life Cycle ...
Docker Tutorials & CI/CD:
• Docker Tutorials & CI/CD
Angular 16 Crash Course For Beginners:
• Angular 16 Crash Course
Tech Tutorials - Random:
• Postman Tutorial - Tes...
Complete Next.js 13 Tutorials: • Next.js 13 Tutorials -...
Next.js 14 Tutorials:
• Next.js 14 Tutorials -...
Node Express MongoDB Bootcamp: • Build REST API with No...
ChatGPT Tutorials: • ChatGPT
Join our facebook group:
/ 996305460498149
Github Repo (Give it a start):
github.com/uma...
Contact us for development services:
/ umair-jameel-24aa5368
This video saved my day! After digging the official docs on Vercel and Next-intl and having errors all the the time, this solution worked for me perfect! Thanks a lot !!!!
Best video for next js and multi language. in YT ... Thanks a lot!!
Thanks. It would be great if you also add the next-auth with intl and explain the multiple middlewares.
Also
Amazing! , Thanks for this video sir .
How about translate language data when I get data on backend ?
Thank you
how to use middleware lang with clerk auth
When I add to my component "use client"; then translation does not work anymore(
Error: MISSING_MESSAGE: Could not resolve `home` in messages for locale `fr`.
Hope you followed my way of implementation. I have shown how to use it in client components.
My fault. I had getMessages(); instead of await getMessages();
Thank you very much! Very good video!!!
Ohh, sorry. I had getMessages(); insted of await getMessages(); =) Thank you very much
what if i want to change urls also mean want to change about based on language localhost:3000/fr/apropos??? 🤔🤔🤔🤔🤔
how about when the text data comes fetched data? how do you translate them ?