bundles/BlockManagerBundle/Templating/Twig/Runtime/HelpersRuntime.php
public function getLocaleName(string $locale, ?string $displayLocale = null): ?string
    {
        return Locales::getName($locale, $displayLocale);
    }
public function getLocaleName(string $locale, ?string $displayLocale = null): ?string
    {
        return Locales::getName($locale, $displayLocale);
    }
public function getLocaleName ( string $ locale , ? string $ displayLocale = null ) : ? string { return Locales :: getName ( $ locale , $ displayLocale ) ; }
Returns the locale name in specified locale.

If $displayLocale is specified, name translated in that locale will be returned.
Returns the locale name in specified locale .