UNPKG

@nuxtjs/i18n

Version:

Internationalization for Nuxt

12 lines (11 loc) 364 B
import type { Locale } from './types.js'; /** * Find the browser locale * * @param locales - The target {@link Locale} list * @param browserLocales - The locale code list that is used in browser * * @returns The matched the locale code * @internal */ export declare function findBrowserLocale(locales: Locale[], browserLocales: readonly string[]): string;