Next.js 15 Đa Ngôn Ngữ năm 2024 | Hướng dẫn dịch lỗi i18n + Zod

Tác giả: Nico dev
Ngày xuất bản: 2024-11-16T00:00:00
Length: 28:10

🔥 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

Dịch Vào Lúc: 2025-04-15T10:51:16Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất