Can i rename print button to “print & download” dynamically. Or any other way to rename ?
Hi!
You can use the updateElement
API to change the label:
instance.updateElement('downloadButton', { label: 'print & download' })
Thanks,
Logan
Thanks for reply.
Can i rename of print popup that comes on click of print.
I want to rename its heading and button.
Hi!
To change that copy you need to edit the translations file in the i18n
folder (public/ui/i18n/translation-en.json). The key you are looking for is action.print
.
Thanks,
Logan