Home > @findkit/ui > SearchEngine > addTranslation
SearchEngine.addTranslation() method
Signature:
addTranslation(lang: string, translation: Partial<TranslationStrings>, custom?: Record<string, string>): void;
Parameters
Parameter | Type | Description |
---|---|---|
lang | string | |
translation | Partial<TranslationStrings> | |
custom | Record<string, string> | (Optional) |
Returns:
void