Closed BigBadBassMan closed 4 years ago
Thank you @BigBadBassMan for reporting this! can you please make a PR using language_name
and bumping twig
to 2.12
?
Thank you @BigBadBassMan for reporting this! can you please make a PR using
language_name
and bumpingtwig
to2.12
?
done as #328 , for now targeting master, as the twig version bump may be bc-breaking
Environment
Sonata packages
Symfony packages
Twig packages
PHP version
Subject
The global language switcher, as documented here, uses a non existing twig filter
language
which is not to be found in any current official twig extensions. Twig included a similiarlanguage_name
since 2.12, which seems to do the job. Overriding thestandard_layout.html.twig
template and changing the filter fixes this.Steps to reproduce
Expected results
Admin page shows as per request.
Actual results