Home > @findkit/ui > SearchEngine > createTranslator

SearchEngine.createTranslator() method

Signature:

createTranslator(options: {
        lang: string;
        translations: {
            [lang: string]: Partial<TranslationStrings>;
        };
    }): Translator;

Parameters

Parameter Type Description
options { lang: string; translations: { [lang: string]: Partial<TranslationStrings>; }; }

Returns:

Translator