Hi guys,
I'm writing a hook which recognize on what subdomain is user and if he is for example on ru.domain.com I want to set up actual language to russian. How can I do it?
What I did (and what is working) is I'm setting up $_SESSION['Language'] but that need a redirect to be applied and this is quite problematic. It works fine but for example Google Adwords doesnt allow for such redirects and block our ads. So I'm wondering how can I change actual language without $_SESSION, is ther