php - magento dont translate countries name dropdown in checkout page -
i have japanese, chinese, , other non latin text store views. in checkout page, dont want translate countries name shown in dropdown input. have no idea how that,
lib/zend/locale/data/translation.php somebody told me @ file, have no idea file. how prevent magento automatically translate names?
you can allowed countries following code without translation
<?php $_countries = mage::getresourcemodel('directory/country_collection')->loaddata()?> <select name="country" id="country"> <option value="">-- please select --</option> <?php foreach($_countries as $_country): ?> <option value="<?php echo $_country->get value() ?>"> <?php echo $_country->getlabel()?> </option> <?php endforeach; ?> </select>
Comments
Post a Comment