Next.js 10 Internationalization (i18n)
Video Statistics and Information
Channel: Patrick M
Views: 13,205
Rating: 4.9921103 out of 5
Keywords: nextjs, next.js, nextjs 10, next.js 10, i18n, internationalization, internationalisation, translate
Id: Rbi52ZYtVKM
Channel Id: undefined
Length: 24min 32sec (1472 seconds)
Published: Sun Nov 29 2020
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
nice one! I've seen a few sites using that next-translate package and had no idea. Very useful for a project I'm working right now! I'd be very interested in knowing the most efficient way to pull localised data from Contentful, for instance.
What about translated paths? This is something that I don't see addressed anywhere. For instance, I would never have english paths for localized pages like how they present it in the nextjs docs, i.e.
/fr/about/
. One other thing that I miss is having thedefaultLocale
be prefixed just like the localized versions. There is a discussion and a PR for this feature.