i18n l10n – Translating Menu Item Programmatically?

I have been trying to translate menu items programmatically but upon saving it just adds the english field value to all my translations.
Below is the code I am trying to execute:

 if ($entity->hasTranslation($language->getId())) {
      //For update
      $entity->removeTranslation($language->getId());
    }
    try {
      $entity->addTranslation($language->getId(), ('title' => 'abcd'))->save();
    } catch (EntityStorageException $e) {
      Drupal::logger('Menu-Translation')->error($e->getMessage());
      Drupal::messenger()->addError(t('Failed to add translation for ' . $language->getName()));
    }

I am debugging and I think the issue lies in the line :

$entity->addTranslation($language->getId(), ('title' => 'abcd'))->save();

Any help would be appreciated. Thankyou.