if I add to /Repos/magento/trunk/site/magento/app/design/frontend/default/default/template/catalog/product/view/attributes.phtml
<php echo $this->__(’some attribute label’) ?>
depending on the store view it is correctly translated (and the list of attributes is translated)
however in the file
the same code will not work, and will not show the translated label.
This problems stems from that I do not want to use the “attribute label” that you set in EACH configurable product. say I have 200 configurable products in 4 languages, and decide to change the label, i would have to edit every single configurable product (or some some custom query against database). So instead I changed some code in app/design/frontend/default/default/template/catalog/product/view/type/options/configurable.phtml to instead of displaying
and it does work. It returns the main “admin” attribute label, rather than the one set in the configurable product. However, i am unable to get this to translate between my stores (by using __() ). The __ function exists, so why would some stuff translate on some areas and some on another? does magento selectively include the attribute labels in the translation code only for some classes?
Any help would be appreciated