languagevariable is added to the twig variables by default but it is empty for my custom module which is rendering a page.
I tried adding
theme_preprocess_page hook inside the
*.module file but the variable is already set there...
Do I have to add it manually through the
routes file or is there any alternative?