UNPKG

coveo-search-ui-extensions

Version:

Small generic components to extend the functionality of Coveo's Search UI framework.

25 lines (24 loc) 597 B
/** * Supported languages. */ export declare enum Language { English = "en" } /** * JSON format of imported strings.json files. */ export default interface ILanguageDictionary { [key: string]: string; } /** * Translation utilities. */ export declare class Translation { /** * Register translations for a language. * * @param language Language of the dictionary. * @param translationDictionary Key-Value dictionary that contain all traslation for a language. */ static register(language: Language, translationDictionary: ILanguageDictionary): void; }