UNPKG

next-intlayer

Version:

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

9 lines 384 B
import type { LocalesValues } from '@intlayer/config'; import type { NextRequest } from 'next/server.js'; /** * Detects the locale from the request headers * * Headers are provided by the browser and can be used to determine the user's preferred language */ export declare const localeDetector: (request: NextRequest) => LocalesValues; //# sourceMappingURL=localeDetector.d.ts.map