public function getDisplayedName( $locale = self::FALLBACK_LOCALE )
    {
        if ( ! empty( $this->displayName[$locale] ) )
        {
            return $this->displayName[$locale];
        }

        $language = Locale::getPrimaryLanguage( $locale );

        if ( ! empty( $this->displayName[$language] ) )
        {
            return $this->displayName[$language];
        }

        if ( ! empty( $this->displayName[static::FALLBACK_LOCALE] ) )
        {
            return $this->displayName[static::FALLBACK_LOCALE];
        }

        if ( ! empty( $this->description ) && strpos( $this->description, "\n" ) )
        {
            list( $name, $description ) = explode( "\n", $this->description, 2 );
            return $name;
        }

        return $this->name;
    }