public function getLocalizedPropertyValues(NodeInterface $node, $name)
{
$values = [];
foreach ($node->getProperties() as $property) {
/* @var PropertyInterface $property */
preg_match('/^' . $this->languageNamespace . ':([a-zA-Z_]*?)-' . $name . '/', $property->getName(), $matches);
if ($matches) {
$values[$matches[1]] = $property->getValue();
}
}
return $values;
}