public static function languageNames($codes = null)
    {
        $list = [];
        $codes = $codes ?: static::codes();
        foreach ($codes as $code) {
            $list[$code] = static::languageName($code);
        }

        return $list;
    }