To use the TranslationPublishedContents API, install the @wix/multilingual package using npm or Yarn:
@wix/multilingual
or
Then import { translationPublishedContents } from @wix/multilingual:
{ translationPublishedContents }