How to translate the text "Your Language:", "Your Currency:" and "Colors"?

How to translate the text "Your Language:", "Your Currency:" and "Colors"? Please refer attachment.

Secondly, how to enable "Your Currency:" setting?

15 answers

Profile photo of Sherlock 0.00 $tone January 8, 2014
Public

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

#1
Profile photo of Victor Lai 0.00 $tone January 8, 2014
Public

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

#2
Profile photo of Sherlock 0.00 $tone January 9, 2014
Public

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

#3
Profile photo of Victor Lai 0.00 $tone January 11, 2014
Public

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

#4
Profile photo of Sherlock 0.00 $tone January 13, 2014
Public

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.

#5
Profile photo of Victor Lai 0.00 $tone January 23, 2014
Public

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.

#6
Profile photo of Eddy Ricardo Santos 340.00 $tone January 23, 2014
Public

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

#7
Profile photo of Victor Lai 0.00 $tone January 23, 2014
Public

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.

#8
Profile photo of Eddy Ricardo Santos 340.00 $tone January 23, 2014
Public

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

#10
Profile photo of ALAIN DEMOUCHY 360.00 $tone March 30, 2014
Public

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?

#11
Profile photo of Eddy Ricardo Santos 340.00 $tone March 31, 2014
Public

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

#12
Profile photo of ALAIN DEMOUCHY 360.00 $tone April 2, 2014
Public

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

#13
Profile photo of Eddy Ricardo Santos 340.00 $tone April 2, 2014
Public

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

#14
Profile photo of Seoki Lee 1510.00 $tone April 15, 2014
Public

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.

#15

Please login or Register to Submit Answer

Written By

Comments