/opt/canhelp/node_modules/next/dist/shared/lib/i18n
NameSizeModeActions
detect-domain-locale.d.ts2200644editdlrm
detect-domain-locale.js9620644editdlrm
detect-domain-locale.js.map14450644editdlrm
get-locale-redirect.d.ts6730644editdlrm
get-locale-redirect.js31710644editdlrm
get-locale-redirect.js.map56640644editdlrm
normalize-locale-path.d.ts5150644editdlrm
normalize-locale-path.js18850644editdlrm
normalize-locale-path.js.map31840644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.d.ts (515B)
export interface PathLocale { detectedLocale?: string; pathname: string; } /** * For a pathname that may include a locale from a list of locales, it * removes the locale from the pathname returning it alongside with the * detected locale. * * @param pathname A pathname that may include a locale. * @param locales A list of locales. * @returns The detected locale and pathname without locale */ export declare function normalizeLocalePath(pathname: string, locales?: readonly string[]): PathLocale;