UNPKG

next-i18next

Version:

The easiest way to translate your NextJs apps.

10 lines (8 loc) 439 B
/* tslint:disable no-explicit-any */ import { I18nContext, useTranslation, Trans, withTranslation, Translation } from 'react-i18next'; import { appWithTranslation, i18n } from './'; /** * Inlined from `import('next').NextConfig.i18n` v13.0.6. As we support * multiple nextjs versions it's safer to inline and keep it up-to-date. */ export { i18n, I18nContext, appWithTranslation, useTranslation, Trans, Translation, withTranslation };