How to Label preset buttons in webviewer

Fixed this issue by hosting a custom json file in the PCF library and imported it to the app.

import step:
import * as customTranslations from ‘./translations/custom-en.json’;
Setting step:
instance.UI.setTranslations(‘en’, customTranslations);

Translation file

1 Like