This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when translation schema is updated.
function onSchemaUpdated(handler: function): void;
handler(event: SchemaUpdatedEnvelope): void | Promise<void>
import { translationSchemas } from "@wix/multilingual";
translationSchemas.onSchemaUpdated((event) => {
// handle your event here
});