Forums / Setup & design / Fetching current language
Jan Komárek
Wednesday 26 August 2009 4:58:37 pm
Hello,
I have to choice right css file which depends on language. I need to fetch current language. And I cant find right functions or template operator which give me current language. Maybe I am to tired and only dont see it.
I will be glad for every help. Thank for replies.Vebloud
Radek Kuchta
Wednesday 26 August 2009 11:24:38 pm
Hi Jan,
Information about current language is avaiable in $site variable (which is in pagelayout)
{$site.http_equiv.Content-language|wash}
http://ez.no/certification/verify/272582