public function delocalizeSegments(array &$segments)
    {
        if (count($segments) > 0) {
            $locale = $segments[0];
            if ($this->localeHelper->isValidLocale($locale)) {
                array_shift($segments);
            }
        }
    }