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.