It isn’t currently possible to do this in handlebars - but @site.lang is a static value for the whole site, so it would always have the same value.
I think most people use client side JS to manage content switching using the URL to determine the current language.