Magento get language code in template file

Viewed 59285

I need a helper function to get the current language code. I want to use it in a templete file, like /products/view.phtml, only for testing purposes.

Does it already exist?

I have something in mind like the URL-helper

$url = $this->helper('core/url')->getCurrentUrl();
6 Answers
Related