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
