I'm really happy to see i18n going into Next.js core with Next.js 10.
However, I'm wondering if and how we can use i18n to translate page names (urls?).
For example, let's say I have a contact page under mypage.de/kontakt
(for default German language).
With Next.js 10 configured, Next.js automatically creates the route mypage.de/en/kontakt
, which is fine so far, but how can we translate the page name as well? Instead of /kontakt
, I'd like to have /contact
.
Is or will this be possible with Next.js 10 out of the box?
Does it require additional libraries? What will be the right way to do this in 2021?
Thank you very much!