UNPKG

next-i18next-static-site

Version:

i18next solution for static sites build with Next.js (static HTML export / next export)

22 lines (19 loc) 890 B
import { i18n } from 'i18next'; export { Trans, Translation, useTranslation, withTranslation } from 'react-i18next'; declare const languages: string[]; declare const defaultLanguage: string; declare const namespaces: string[]; declare const defaultNamespace: string; declare const defaultNamespace2: string; declare const cookieName: string; declare const i18nextInstance: (options: any) => i18n; declare const I18nProvider: (props: any) => any; declare function getAllLanguageSlugs(): { params: { lang: string; }; }[]; declare function getLanguage(lang: string): string; declare const useLanguageDetection: () => null; declare const languageDetection: () => never; export { I18nProvider, cookieName, defaultLanguage, defaultNamespace, defaultNamespace2, getAllLanguageSlugs, getLanguage, i18nextInstance, languageDetection, languages, namespaces, useLanguageDetection };