translate fields

Good afternoon guys, I’m almost launching the store, however I am having trouble finding the following fields for translation, I hope someone can help me.
Attachment 28463Attachment 28464

9 answers

Profile photo of Sherlock 0.00 $tone July 3, 2013
Public

Ok mate, for the text of "Latest products" you can open the file app\design\frontend\default\jm_siotistemplate\joo mlart\jmproducts\column.phtml there you would see this code

HTML Code:

 <h1><?php echo $config['title']; ?></h1>

change it to

HTML Code:

  <h1><?php echo $this->__($config['title']); ?></h1>

then you can open the locale file of app\design\frontend\default\jm_siotis\locale\your_ lang_codetranslate.csv (create the file if it was not there) to add the transtale text as normal

Btw: I am wondering why you are asking about Jm siotis while I see you purchased JM Neros only

#3
Profile photo of Sherlock 0.00 $tone July 9, 2013
Public

Hi dflemen,

To translate those texts you can try as following
Open the file of app\design\frontend\default\jm_siotistemplate\joo mlart\jmproductsslider\list.phtml
you look for this code

PHP Code:

                <?php if(isset($configs['title']) && $configs['title']!=''){?>
    <div class="block-title"><strong><span><?php echo $configs['title']?> </span></strong></div>
    <?php if (!$configs['use_scrollerbar']){ ?>
        <div class="jm-prev"> <span> prev </span> </div>
        <div class="jm-next"> <span> next </span> </div>
        <?php }?>
    <?php }?>


change it to

PHP Code:

   <?php if(isset($configs['title']) && $configs['title']!=''){?>
    <div class="block-title"><strong><span><?php echo $this->__($configs['title']); ?></span></strong></div>
    <?php if (!$configs['use_scrollerbar']){ ?>
        <div class="jm-prev"> <span><?php echo $this->__("prev"); ?> </span> </div>
        <div class="jm-next"> <span> <?php echo $this->__("next"); ?> </span> </div>
        <?php }?>
    <?php }?>


then open the file of app\design\frontend\default\jm_siotistemplate\joo mlart\jmproducts\list.phtml look for this code

PHP Code:

                               <h1><?php echo $config['title']; ?></h1>
        <a href="<?php echo Mage::getBaseUrl()."jmproducts/viewall/index/type/".$config['mode']; ?>"> view all </a>
        </div><?php }; ?>


change it to

PHP Code:

 <h1><?php echo $this->__($config['title']); ?></h1>
        <a href="<?php echo Mage::getBaseUrl()."jmproducts/viewall/index/type/".$config['mode']; ?>"> <?php echo $this->__("view all"); ?> </a>
        </div><?php }; ?>


finally you open the file of app\design\frontend\default\jm_siotistemplate\pag e\html\header.phtml look for this code

PHP Code:

 <span><a id="gotocart" href="<?php echo Mage::getUrl("checkout/cart"); ?>"> in your cart </a></span>


change it to

PHP Code:

<span><a id="gotocart" href="<?php echo Mage::getUrl("checkout/cart"); ?>"> <?php  echo $this->__("in your cart"); ?> </a></span>


After doing all above you can open the language file of app\design\frontend\default\jm_siotis\locale\your_ lang_codetranslate.csv to add the corresponding translated texts as mentioned.
I hope you get it mate

#5
Profile photo of Sherlock 0.00 $tone July 10, 2013
Public

Hi dflamen,

1) For the "more info" text at the slideshow you can open the file of app\design\frontend\default\defaulttemplate\jooml art\jmslideshow\basic.phtml there you look for this

PHP Code:

  <?php echo $config['readMoreText'];?>


Change it to

PHP Code:

  <?php echo $this->__($config['readMoreText']);?>


Then add the translated text to the .csv file as mentioned

2) To change "sem produtos" to "0 items" i think you just need to open the .csv file to add the translate text for 0 items
3) To translate those texts at Newsletter part on the right side you can open the file of app\design\frontend\default\jm_siotistemplatenew sletter\subscribe.phtml there you change the below

HTML Code:

  <span class="email-text1">Sign Up for the </span> <br/> <span class="email-text2"> Newsletter</span>

to

HTML Code:

  <span class="email-text1"><?php echo $this__("Sign Up for the"); ?> </span> <br/> <span class="email-text2"> echo $this__("Newsletter");</span>

then you open the .csv file to add the corresponding translated texts, also on the above file you look for Email Address… to translate it
4) For the "View more" text on the right column you open the file app\design\frontend\default\jm_siotistemplate\joo mlart\jmproducts\column.phtml look for this

PHP Code:

<a href="<?php echo Mage::getBaseUrl()."jmproducts/viewall/index/type/".$config['mode']; ?>"> View more </a>


change to

PHP Code:

<a href="<?php echo Mage::getBaseUrl()."jmproducts/viewall/index/type/".$config['mode']; ?>"><?php echo $this__("View more");  ?></a>


5) For the hot and sale they are just label of a product attribute, it’s the attribute of Label, you can go to back-end navigate to Manage attributes section to search for the label attribute there you could change the attribute label (hot and sale) for each of your active language.

6) Regarding the texts at footer area, they are texts from static blocks, you can go to edit those blocks to translate their content directly or creating new blocks that enable for your new language (those old ones should be only available for english store/language )

Hope you get it !

#7

Please login or Register to Submit Answer

Written By

Comments