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 exi
You can get the current locale code this way :
$locale = Mage::app()->getLocale()->getLocaleCode();