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