Magento: if language is
Use this bit of code see what the language is
$language_settings = Mage::app()->getStore()->getCode();$language_settings = strtolower($language_settings);
if ( $language_settings == “default") {
echo “Default = English”;
} elseif ( $language_settings == “french") {
echo “French”;
} elseif ( $language_settings == “german") {
echo “German”;
}
click here for the original website
No comments:
Post a Comment