i want to get the actual language which is chosen on a drupal 8 site in a node and start an if-request when e.g. the language is "en" to put out some content.
this is what i've already tried:
{% global language %}
{% set lang_name = language %}
{{ lang_name }}
and
{{ app.session.locale }}
{{ app.request.locale }}
but it doesnt work. can someone give me a hint how i can get the language via twig on drupal 8 or is this not possible at all?