src/Traits/ErrorMessageTrait.php
public function addTranslates(array $fieldTrans): self
    {
        foreach ($fieldTrans as $field => $tran) {
            $this->_translates[$field] = $tran;
        }
        return $this;
    }
public function addTranslates(array $fieldTrans): self
    {
        foreach ($fieldTrans as $field => $tran) {
            $this->_translates[$field] = $tran;
        }
        return $this;
    }
public function addTranslates ( array $ fieldTrans ) : self { foreach ( $ fieldTrans as $ field => $ tran ) { $ this -> _translates [ $ field ] = $ tran ; } return $ this ; }
add the attrs translation data
@param array $fieldTrans
@return $this
add the attrs translation data