@churchapps/apphelper
Version:
Library of helper functions for React and NextJS ChurchApps
14 lines • 555 B
TypeScript
export declare class Locale {
private static readonly supportedLanguages;
private static readonly extraCodes;
private static readonly englishFallbacks;
static init: (backends: string[]) => Promise<void>;
private static deepMerge;
private static isObject;
private static getNestedValue;
static t(key: string, options?: Record<string, unknown>): string;
static label(key: string, fallback?: string): string;
static isInitialized(): boolean;
static setupFallbackMode(): void;
}
//# sourceMappingURL=Locale.d.ts.map