Skip to main content

Language Context

Language context that uses react-i18next to translate given text.

Import as const { t } = useContext(LanguageContext) in any react component that requires translation.

And use it as text={t('callToAction.back')}.