UNPKG

@singleton-i18n/js-core-sdk

Version:

A JavaScript Singleton client library for internationalization and localization that leverage data from Singleton service. The library works both for the browser and as a Node.js module.

27 lines (26 loc) 644 B
import { HttpRequestOptions } from './loader'; export declare enum PatternCategories { DATE = "dates", NUMBER = "numbers", PLURAL = "plurals", CURRENCIES = "currencies" } export interface Configuration { productID: string; version: string; component?: string; host: string; isPseudo?: boolean; language?: string; region?: string; i18nScope?: PatternCategories[]; sourceBundle?: { [key: string]: any; }; sourceBundles?: Array<{ [key: string]: any; }>; i18nAssets?: string; httpOptions?: HttpRequestOptions; } export declare function getDefaultConfig(): {};