code: private function getVariationPropertyTranslations(array $names)
      {
          $translations = [];
  
          foreach ($names as $name) {
              $languageIdentifier = $this->identityService->findOneBy([
                  'adapterIdentifier' => $name['lang'],
                  'adapterName' => PlentymarketsAdapter::NAME,
                  'objectType' => Language::TYPE,
              ]);
  
              if (null === $languageIdentifier) {
                  continue;
              }
  
              $translations[] = Translation::fromArray([
                  'languageIdentifier' => $languageIdentifier->getObjectIdentifier(),
                  'property' => 'name',
                  'value' => $name['name'],
              ]);
          }
  
          return $translations;
      }
docs: @param array $names
  
  @return Translation[]