code: public function saveKeyTranslation(Model $foreignObject, $localObject)
      {
          $firstKey = null;
          foreach ($this->keys as $keyName => $keyField) {
              if (!empty($foreignObject->{$keyField})) {
                  $key = $this->generateKey($foreignObject, $keyName, $foreignObject->{$keyField});
                  $keySaved = $this->internalSaveKeyTranslation($foreignObject, $localObject, $key);
                  if (!isset($firstKey)) {
                      $firstKey = $keySaved;
                  }
              }
          }
  
          return $firstKey;
      }
docs: [[@doctodo method_description:saveKeyTranslation]].
  
  @param cascade\components\dataInterface\connectors\generic\Model $foreignObject [[@doctodo param_description:foreignObject]]
  @param [[@doctodo param_type:localObject]]                       $localObject   [[@doctodo param_description:localObject]]
  
  @return [[@doctodo return_type:saveKeyTranslation]] [[@doctodo return_description:saveKeyTranslation]]