public function localization($ident)
    {
        if (!is_string($ident)) {
            throw new InvalidArgumentException(sprintf(
                'Translation key must be a string, received %s',
                (is_object($ident) ? get_class($ident) : gettype($ident))
            ));
        }

        if (isset($this->localizations[$ident])) {
            return $this->localizations[$ident];
        }

        return $ident;
    }