How to translate the text "Your Language:", "Your Currency:" and "Colors"? Please refer attachment.
Secondly, how to enable "Your Currency:" setting?
15 answers
For "Your Language":
Please open the file: app\design\frontend\default\jm_megamalltemplate\p age\switch\flags.phtml, then replace "Your Language" with your own text:
PHP Code:
<?php echo $this->__("Your Language:"); ?>
For "Your Currency":
Open the file: app\design\frontend\default\jm_megamalltemplate\c urrency\currency.phtml, change
"Your Currency:" with your own text:
PHP Code:
<?php echo $this->__("Your Currency:"); ?>
For the color text, go to edit the colors static block where you would see the text there.
For the rest question:
Secondly, how to enable "Your Currency:" setting?
This link might be of help: How to add currency to Magento header
The solutions you show me are meant for one language only. What happen if the online store have more than one language? Where should I go to "modify" it? I try using translate.csv file, but it is not working.
For "Your Language":
Please open the file: app\design\frontend\default\jm_megamalltemplate\p age\switch\flags.phtml, then replace "Your Language" with your own text:PHP Code:
<?php echo $this->__("Your Language:"); ?>
For "Your Currency":
Open the file: app\design\frontend\default\jm_megamalltemplate\c urrency\currency.phtml, change
"Your Currency:" with your own text:PHP Code:
<?php echo $this->__("Your Currency:"); ?>
For the color text, go to edit the colors static block where you would see the text there.For the rest question:
This link might be of help: How to add currency to Magento header
If the store has more than one languages, you can add the translated texts to translate.csv file. Could you attach your file here so that I could have a look? Also please be sure that you place your file to the correct folder: app\design\frontend\default\jm_megamall\locale\you r_language
It’s not working.
If the store has more than one languages, you can add the translated texts to translate.csv file. Could you attach your file here so that I could have a look? Also please be sure that you place your file to the correct folder: app\design\frontend\default\jm_megamall\locale\you r_language
It would be best if you could attach your file of translate.csv here so that I could have a closer look. By the way, you can pm me your sit eurl, admin and FTP credentials, I will investigate further.
Already PM the FTP details to you. Please help me check ASAP. Thanks!
It would be best if you could attach your file of translate.csv here so that I could have a closer look. By the way, you can pm me your sit eurl, admin and FTP credentials, I will investigate further.
Please, look at my own experience:
I have three language: English, Spanish and Portuguese_BR then you must have in app/locate at less three languages folders en_USA, es_CL, pr_BR.
1- Prepare To Translate Colors menu word:
a)- Open app/design/frontend/default/jm_megamall/template/page/html/jmtoolbar.phtml and search:
Code:
<div id="jm-setting" class="quick-setting has-toggle"> <div class="btn-toggle setting-toggle"> <i class="fa fa-globe"></i><strong><?php echo $this->__('Setting') ?></strong> </div> <div class="inner-toggle"> <?php echo $this->getChildHtml('store_language') ?> <?php echo $this->getChildHtml('custom_currency_selector') ?> <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('colors')->toHtml() ?> </div> </div> </div>
b)-- Add as show:
Code:
<div id="jm-setting" class="quick-setting has-toggle"> <div class="btn-toggle setting-toggle"> <i class="fa fa-globe"></i><strong><?php echo $this->__('Setting') ?></strong> </div> <div class="inner-toggle"> <?php echo $this->getChildHtml('store_language') ?> <?php echo $this->getChildHtml('custom_currency_selector') ?> <!-- BEGIN: CUSTOM --> <div class="colors-setting"><label for="select-colors"><?php echo $this->__('Colors') ?></label> <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('colors')->toHtml() ?> <!-- END: CUSTOM --> </div> </div> </div>
c)- Go to Admin Panel -> CMS -> STATIC BLOCKS and open Colors block.
d)- Change to HTML view
f)- Replace tags
Code:
<div class="colors-setting"><label for="select-colors">Colors</label>
… by
Code:
<div>
and SAVE it.
2- To Translate Setting, Your Language, Your Currency Menu Words:
a)- Add those rows to app/locate/en_USA/Mage_Page.csv:
Code:
"Your Language","Your Language" "Your Language:","Your Language:" "Your Currency:","Your Currency:" "Your Currency","Your Currency" "Setting","Setting"
b)- Add to app/locate/es_CL/Mage_Page.csv (for my locate Spanish Chile language):
Code:
"Your Language","Idioma"
"Your Language:","Idioma:"
"Your Currency:","Moneda:"
"Your Currency","Moneda"
"Setting","Configuraci
The text "Colors" no need go to jmtoolbar.phtml to translate. CMS->Static Blocks can settle.
The text "Your Language:" and "Your Currency:" not able to be translated even I follow the steps provided by you. Is it possible to use inline translation to do it? I can’t determine the .csv files for the inline translation.
JA staff, can you please investigate for me ASAP? Thanks!
The text "Colors" no need go to jmtoolbar.phtml to translate. CMS->Static Blocks can settle.
The text "Your Language:" and "Your Currency:" not able to be translated even I follow the steps provided by you. Is it possible to use inline translation to do it? I can’t determine the .csv files for the inline translation.
My friend.
There is not way to translate multiple language statics blocks on the flight because use unique identifier. Then you must to duplicate blocks with different language content but different identifier too. then calls to blocks from php code depending of current store get function. Really is very difficult. I did some times ago. However, if you have one language then edit the static block only.
Review my last post and apply it step but step. See the attached pictures, it works fine.
Attachment 33297Attachment 33298Attachment 33299
Good Look
Click Thanks if my post is helpful
Hi,
I have same problem than Victorlai, I followed step by step richardmax’s post for translating "your language" & "your currency" but without success!!
Translation in .csv files are useless.
Does someone found the solution or could help?
Hi,
I have same problem than Victorlai, I followed step by step richardmax’s post for translating "your language" & "your currency" but without success!!
Translation in .csv files are useless.
Does someone found the solution or could help?
Did you clean cache and session after changes?
Send me a Skype id by PM to contact.
Richardmax
Did you clean cache and session after changes?
Send me a Skype id by PM to contact.
Richardmax
Hi Richardmax,
Yes of course!
skype id sent via PM
Thanks
Hi my friends.
There has been much confusion about the procedures in this post. Is my fault Because I have not referred to Sherlock’s post.
The correct procedure is as follow step by step:
For "Your Language":
Please open the file: app\design\frontend\default\jm_megamalltemplate\p age\switch\flags.phtml, then replace "Your Language" with your own text:PHP Code:
<?php echo $this->__("Your Language:"); ?>
For "Your Currency":
Open the file: app\design\frontend\default\jm_megamalltemplate\c urrency\currency.phtml, change
"Your Currency:" with your own text:PHP Code:
<?php echo $this->__("Your Currency:"); ?>
For the color text, go to edit the colors static block where you would see the text there.For the rest question:
This link might be of help: How to add currency to Magento header
Please, look at my own experience:
I have three language: English, Spanish and Portuguese_BR then you must have in app/locate at less three languages folders en_USA, es_CL, pr_BR.
1- Prepare To Translate Colors menu word:
a)- Open app/design/frontend/default/jm_megamall/template/page/html/jmtoolbar.phtml and search:
Code:
<div id="jm-setting" class="quick-setting has-toggle"> <div class="btn-toggle setting-toggle"> <i class="fa fa-globe"></i><strong><?php echo $this->__('Setting') ?></strong> </div> <div class="inner-toggle"> <?php echo $this->getChildHtml('store_language') ?> <?php echo $this->getChildHtml('custom_currency_selector') ?> <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('colors')->toHtml() ?> </div> </div> </div>b)-- Add as show:
Code:
<div id="jm-setting" class="quick-setting has-toggle"> <div class="btn-toggle setting-toggle"> <i class="fa fa-globe"></i><strong><?php echo $this->__('Setting') ?></strong> </div> <div class="inner-toggle"> <?php echo $this->getChildHtml('store_language') ?> <?php echo $this->getChildHtml('custom_currency_selector') ?> <!-- BEGIN: CUSTOM --> <div class="colors-setting"><label for="select-colors"><?php echo $this->__('Colors') ?></label> <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('colors')->toHtml() ?> <!-- END: CUSTOM --> </div> </div> </div>c)- Go to Admin Panel -> CMS -> STATIC BLOCKS and open Colors block.
d)- Change to HTML view
f)- Replace tags
Code:<div class="colors-setting"><label for="select-colors">Colors</label>… by
Code:<div>and SAVE it.
2- To Translate Setting, Your Language, Your Currency Menu Words:
a)- Add those rows to app/locate/en_USA/Mage_Page.csv:
Code:
"Your Language","Your Language" "Your Language:","Your Language:" "Your Currency:","Your Currency:" "Your Currency","Your Currency" "Setting","Setting"b)- Add to app/locate/es_CL/Mage_Page.csv (for my locate Spanish Chile language):
Code:
"Your Language","Idioma"
"Your Language:","Idioma:"
"Your Currency:","Moneda:"
"Your Currency","Moneda"
"Setting","Configuraci
Please follow these steps to resolve your problem:
1. Open the file ..\app\design\frontend\default\jm_megamalltemplat e\page\switch\flags.phtml:
At line 29, please replace this code:
Code:
<label for="select-language">Your Language:</label>
With:
Code:
<label for="select-language"><?php echo $this->__('Your Language');?>:</label>
2. Open file ..\app\design\frontend\default\jm_megamalltemplat e\currency\currency.phtml:
At line 3, replace this code:
Code:
<label for="select-language">Your Currency:</label>
With:
Code:
<label for="select-language"><?php echo $this->__('Your Currency');?>:</label>
3. Go to your admin to enable inline translation: System/Configuration click on tab "Developer"
In "Current Configuration Scope" box in the top left, choose your store which you want to translate, click on tab "Translate Inline" > choose "Enabled for Frontend" option with "Yes". Then go to you site and translate.
Also, please visit this link for more information: http://inchoo.net/ecommerce/magento/…on-in-magento/
Hope this helps.