1. "Your Language:" in Settings Menu
The Text is hard coded in:
\app\design\frontend\default\jm_summertemplate\pa ge\Switch\flags.phtml
Change <label>..</label> tag text to:
<?php echo $this->__(‘Your Language:’) ?>
Greetings
Found another thread
This is from JM MegaMall, this theme is more than a half year older, and the developers haven’t learned?
6 answers
2. "Colors:" in Settings Menu
a. The Text is hard coded in:
CMS->Static Blocks->Colors. Change it, as you like.
b.the Developer can:
Insert the label and other HTML-code in the above flags.phtml file.
So we can delete the loading of: <?php echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘colors’)->toHtml() ?>
in file: app\design\frontend\default\jm_summertemplate\pag e\html\jmtoolbar.phtml.
c. the Developer can:
Use a colors.phtml template file in the above …\Switch\ path
And then use something like: {{block type="core/template" name="colors" template="page/switch/colors.phtml"}} in the CMS->Static Blocks->Colors static block to load.
3. "Read more" in product list view
The text is hard coded in:
/app/design/frontend/default/jm_summer/template/catalog/product/list.phtml
Search for "Read more".
Change the read more text to (we are in the construction of a string):
Code:
'.$this->__('Read more').'
Now we can translate it in theme language file. See next post!
After theme Installation we have empty translate.csv files in:
/app/design/frontend/default/jm_summer/locale/language-code
If your default language-code folder is missing, create it, and copy one of the translate.csv files.
I’m trying to collect all theme specific words, texts, phrases from jm_summer frontend for en_US,
which are not hard coded -- are corrected, or are not catched by default Magento translation!
These translations override the default ones! (Magento fallback!!!)
Code:
"Sign up for emails","Sign up for emails" "Enter email","Enter email" "Go","Go" "Sign up for our newsletter","Sign up for our newsletter" "Newsletter sign up","Newsletter sign up" "Your Language:","Your Language:" "Send Us A Message","Send Us A Message" "Send message","Send message" "description","description" "additional","additional" "Read more","Read more"
I set assumes that you know about the default magento translation system.
So feel free to translate but you have to know, what you are doing.
You can also try with inline translation of magento as Lee Seoki mentioned in the last post in above thread.
4. "Sub Total ::" and "Clear Shopping Cart" in Shopping Cart Menu
"Sub Total :" -> translate it in theme language file. See post #4!
"Clear Shopping Cart" button text ->
The text is hard coded in:
\app\design\frontend\default\jm_summertemplate\ch eckout\cart\sidebar2.phtml -- line 78
Change button title and <span>..</span> tag text to:
<?php echo $this->__(‘Clear Shopping Cart’) ?>
-- then the default Magento translation should work.
Code:
"Prefix","Prefix" "DD","DD" -> used to display the date (DayDay)! "Male","Male" "Female","Female" "What's this?","What's this?" "Checking "Remember Me" will let you access your shopping cart on this computer when you are logged out","Checking "Remember Me" will let you access your shopping cart on this computer when you are logged out" "Account confirmation is required. Please, check your email for the confirmation link. To resend the confirmation email please click here."," Account confirmation is required. Please, check your email for the confirmation link. To resend the confirmation email please click here." ->after new user without confirmation! "This account count is not confirmed. Click here to resend confirmation email.","This account count is not confirmed. Click here to resend confirmation email." ->after try log in without conformation! "There are no customer reviews yet.","There are no customer reviews yet." "Nickname","Nickname" "Nickname:","Nickname:" "There are no recurring profiles yet.","There are no recurring profiles yet." "%d Reviews","%d Reviews" "0 Review","0 Review" "Reviews","Reviews" "Review","Review" "Add Your Review","Add Your Review" "Sub Total :","Sub Total :" "'ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'","'ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'"
Attention: Don’t only copy! Remove the comments with (->).
Note: The review text’s comes in handy when following thread "Corrections to review links".
This question is now closed