this line and the line below are useless, you already pass ``object`` and ``admin`` in ``locale_switcher.html.twig``