MENU

Fun & Interesting

Next.js 15 Multiple Languages in 2024 | i18n + Zod Error Translation Guide

Nico dev 13,521 lượt xem 5 months ago
Video Not Working? Fix It Now

🔥 Interested in a complete Next.js + Supabase + Shadcn + Zod + more… MASTER course?
Join the waiting list: https://forms.gle/u82vEr9M32xtViha8

🗣️ How to add multiple languages to your Next.js app (including Zod errors!)

Quick tutorial showing how to implement i18n in your Next.js 15 project. We'll also tackle something that's rarely covered: translating Zod validation errors into different languages. Perfect for international apps!

In this video:
✅ i18n setup in Next.js 15
✅ Translation management
✅ Zod error translations
✅ Real-world tips

🔗 Links:
Code: https://github.com/Clactar/multiple-languages-next-js
Next.js i18n docs: https://nextjs.org/docs/app/building-your-application/routing/internationalization

Chapters:
00:00 - Intro
00:39 - Setting up i18n
05:25 - Managing translations
20:26 - Translating Zod errors
27:19 - Wrap up

#nextjs #coding #webdevelopment #typescript

Comment