UNPKG

next-intlayer

Version:

Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.

10 lines 395 B
import { type LocalesValues } from '@intlayer/config/client'; export declare const useLocale: () => { pathWithoutLocale: string; locale: LocalesValues; defaultLocale: import("intlayer").Locales; availableLocales: import("intlayer").Locales[]; localeList: import("intlayer").Locales[]; setLocale: (locale: LocalesValues) => void; }; //# sourceMappingURL=useLocale.d.ts.map