private function getLocalesByPortalKey($portalKey)
    {
        $portal = $this->webspaceManager->findPortalByKey($portalKey);

        return array_map(
            function(Localization $localization) {
                return $localization->getLocale();
            },
            $portal->getLocalizations()
        );
    }