New globals for language in Drupa 7

Before you could get current language value by global $language now there is new

global $language_content;
$lang=$language_content->language;

To get value of language your content is in. There is still global $language