import { getDictionary, langConfig, type Locale } from "{{LANG_CONFIG_PATH}}"; import Link from "next/link"; import styles from "./page.module.css"; export default async function Home(props: { params: Promise<{ lang: Locale }>; }) { const { lang } = await props.params; const dictionary = await getDictionary(lang); const dictionarySize = Object.keys(dictionary).length; const steps = [ Verify your email, Add a new translation to{" "} {{PROJECT_NAME}} , Run `{{UPDATE_COMMAND}}` , Refresh this page, ]; return (

Generated by next-translator

Dictionary size {dictionarySize}
{langConfig.locales.map((locale) => { const isActive = locale === lang; return ( {locale} ); })}

What's Next?

{steps.map((item, index) => (
{index + 1}

{item}

))}
); }