• 5 months ago
For static data in Next.js we can to export an object with the type Metadata to set the page title, description, etc. For dynamic data we need to use generateMetadata. This video shows how to translate the page's title and description in another language.

Gist url: https://gist.github.com/InterTuts/895248641792e7f6e901c70559bde86a

Recommended