@rockpack/localazer
Version:
This module can help you organize localization in your React application
10 lines (9 loc) • 330 B
TypeScript
export declare type LocaleData = {
domain?: string;
locale_data: {
[key: string]: unknown;
};
};
declare const getDefault: (defaultLang?: string, defaultLocaleData?: LocaleData) => LocaleData;
declare const detectBrowserLanguage: () => string | string[];
export { getDefault, detectBrowserLanguage };