Hello,
How do I change the language of the edition pop-up?
I’d like to replace the “Edit record”, “cancel” and “save” buttons.
Thank you!
Hello,
How do I change the language of the edition pop-up?
I’d like to replace the “Edit record”, “cancel” and “save” buttons.
Thank you!
This would probably need to be done with a small code snippet I will ask the team to check @Marine.Hovhannisyan FYI
If you have a solution, it would be perfect !
Hello,
Any progress on this?
here we go: Please add the code below into the page settings custom code header area
<script>
document.addEventListener("DOMContentLoaded", function() {
const editTitle = 'New Edit Title';
const saveButtonLabel = 'New Save';
const cancelButtonLabel = 'New Save';
setInterval(function() {
if($('.sw-airtable-record-editor-modal .modal__title').html().includes('Edit record')) {
$('.sw-airtable-record-editor-modal .modal__title').html(editTitle);
}
if($('.sw-airtable-record-editor-modal .modal__btn-primary').html().includes('Save')) {
$('.sw-airtable-record-editor-modal .modal__btn-primary').html(saveButtonLabel);
}
if($('.sw-airtable-record-editor-modal .modal__btn-secondary').html().includes('Cancel')) {
$('.sw-airtable-record-editor-modal .modal__btn-secondary').html(cancelButtonLabel);
}
}, 600);
});
</script>
Amazing, thanks for sharing! Is it possible to change the wording based on the user group as well @artur ? Thanks!
Would be actually we need to adjust the code and enable you to map different texts per group. I will try this in the next few days unless other folks try earlier