Task description
These steps may help you create the translations,
import { useTranslation } from "next-i18next";
const { t } = useTranslation("common");
you have to change the text into this format in this example:
{t(signinPage.paragraph)}
Then you have to put this function on the page you are translating
export async function getStaticProps({ locale }) {
return {
props: {
...(await serverSideTranslations(locale, ["common"])),
// Will be passed to the page component as props
},
};
}
NOTE:
The translated text should be put inside common.json files
Please check the landing page code if you need to see how Dilara did the translation there
Task title Translation - Event View
Task description These steps may help you create the translations,
you have to change the text into this format in this example:
{t(signinPage.paragraph)}
Then you have to put this function on the page you are translating
NOTE: The translated text should be put inside common.json files Please check the landing page code if you need to see how Dilara did the translation there