UNPKG

@inlang/paraglide-js

Version:

[![NPM Downloads](https://img.shields.io/npm/dw/%40inlang%2Fparaglide-js?logo=npm&logoColor=red&label=npm%20downloads)](https://www.npmjs.com/package/@inlang/paraglide-js) [![GitHub Issues](https://img.shields.io/github/issues-closed/opral/paraglide-js?lo

13 lines 401 B
/** * Negotiates a preferred language from navigator.languages. * * Use the function on the client to extract the locale * from the navigator.languages array. * * @example * const locale = extractLocaleFromNavigator(); * * @returns {Locale | undefined} */ export declare function extractLocaleFromNavigator(): Locale | undefined; //# sourceMappingURL=extract-locale-from-navigator.d.ts.map