protected function namespaceChanged()
    {
        // Get locale we target (performance)
        $encoding = $this->getEncoding();
        $redirectLocale = $this->getRedirectLocale();

        // Init interface for translation
        if ((!self::$translatorInterfaces) || (false === isset(self::$translatorInterfaces[$encoding]))) {
            self::$translatorInterfaces[$encoding] = $this->translatorInterfaceFactory();
        }

        $locale = ($redirectLocale !== null) ? $redirectLocale : $this->getLocale();

        // Set the new namespace and retrieve key to translationtable
        $this->setTranslationTableUid(
            self::$translatorInterfaces[$encoding]->initLocaleNamespace(
                $locale,
                $this->getNamespaces()
            )
        );

        return true;
    }