public function validI18N(array $locales=[], $groups=[]) {
		if(!$locales)
			$locales = $this->getLocales();
		$data = $this->toArrayRawI18N($locales);
		$validator = $this->getValidator($locales);
		return $validator->valid($data, $groups);
	}
public function validI18N(array $locales=[], $groups=[]) {
		if(!$locales)
			$locales = $this->getLocales();
		$data = $this->toArrayRawI18N($locales);
		$validator = $this->getValidator($locales);
		return $validator->valid($data, $groups);
	}
public function validI18N ( array $ locales = [ ] , $ groups = [ ] ) { if ( ! $ locales ) $ locales = $ this -> getLocales ( ) ; $ data = $ this -> toArrayRawI18N ( $ locales ) ; $ validator = $ this -> getValidator ( $ locales ) ; return $ validator -> valid ( $ data , $ groups ) ; }
Check if entity and translations are valid.
@param  string[] $locales
@param  array    $groups validation groups
@return boolean
Check if entity and translations are valid .