Cannot translate Description and Additional on product page

Where do I translate "Description" and "Additional" on product page in the tabs at the bottom. Have tried to add a translate.csv file and added it in app/design/frontend/default/jm_megamall/locale/da_DK/translate.csv.

Seems that the text is hardcoded.

Attachment 39160

4 answers

Profile photo of Saguaros 0.00 $tone August 11, 2014
Public

Hi

You can try with my workaround as below:

-- Go to file: \app\design\frontend\default\jm_megamalltemplate\ catalog\product\view.phtml

-- Replace this line of code:

PHP Code:

<?php foreach ($this->getChildGroup('detailed_info''getChildHtml') as $alias => $html):?>
    <li><a href="<?php echo "#ja-tab-{$alias}"?>"><?php echo $alias?></a></li>
<?php endforeach;?>


With:

PHP Code:

<?php foreach ($this->getChildGroup('detailed_info''getChildHtml') as $alias => $html):?>
    <li><a href="<?php echo "#ja-tab-{$alias}"?>"><?php $this->__($alias); ?></a></li>
<?php endforeach;?>


-- Then translate the text via above translate.csv file.
-- Once done, remember to clear magento cache.

#1

Please login or Register to Submit Answer

Written By

Comments