Home > @findkit/ui > FindkitUI > addTranslation

FindkitUI.addTranslation property

Set the UI translations transt for a given language

https://docs.findkit.com/ui/api/#addTranslation

lang - language code translations - translations object custom - Additional custom translations when using the useTranslator in slot overrides

Signature:

addTranslation: (lang: string, translation: Partial<TranslationStrings>, custom?: Record<string, string> | undefined) => void;