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
For use in the html elements lang attribute etc.
lang
echo strtolower(Mage::getStoreConfig('general/country/default')); // "en"