src/Sulu/Component/Content/Mapper/Translation/MultipleTranslatedProperties.php
public function setLanguage($languageKey)
    {
        $this->translatedProperties = [];
        foreach ($this->properties as $key => $property) {
            $this->translatedProperties[$key] = new TranslatedProperty(
                $property,
                $languageKey,
                $this->languageNamespace
            );
        }
    }
public function setLanguage($languageKey)
    {
        $this->translatedProperties = [];
        foreach ($this->properties as $key => $property) {
            $this->translatedProperties[$key] = new TranslatedProperty(
                $property,
                $languageKey,
                $this->languageNamespace
            );
        }
    }
public function setLanguage ( $ languageKey ) { $ this -> translatedProperties = [ ] ; foreach ( $ this -> properties as $ key => $ property ) { $ this -> translatedProperties [ $ key ] = new TranslatedProperty ( $ property , $ languageKey , $ this -> languageNamespace ) ; } }
set language of translated property names.

@param string $languageKey
set language of translated property names .