No, thanks. I found solution already. Sorry for a long code.
Solution:
I use Polylang plugin. It have built-in function pll_current_language() wich returns two lang letters like “en” for english.
I replaced this code in front-page.php
[ 572 lines of code moderated, that’s just way too much. For that many lines of code please use pastebin.com instead. ]
There is five feature areas in three languages Russian (ru), English (en), Hebrew (he).