Hi there! Looking for an easy way to translate your theme titles, paragraphs, etc?… found it!. Although is not widely used in the #Magento world, it can save you a lot of time if you’re in a hurry. Take a look:
1) Within your Admin-panel, navigate to System->Configuration->select your store-view in “Current Configuration Scope:” drop-down.
2) Now open up “Developer” menu:
3) You’ll see the “Translate Inline” options, select “Yes” for “Enabled for Frontend”:
4) If you’ve enabled your cache, refresh it or disable. Then refresh your frontend and you’ll see something like this:
5) Click in a title to edit:
6) Submit your translation and…That’s it!.
However, if you’re not in a hurry and want to take advantage of the full #Magento translation module, there’s another way to translate your theme. This is by installing a local package from MagentoConnect, configure it and then add your own translations in a .csv file. Check another quick tutorial to do this. After installing and configuring your language module, to add your own translations be sure of this:
1) All text in the .phtml files must be coded like this:
<?php echo $this->__(‘Example text.’) ?>
2) The translate.csv file must be located in: app/design/frontend/default/themename/locale/en_US directory. Keep in mind that “en_US” is the language identifier.
3) To add the equivalent translated text in translate.csv file, you must follow this structure:
Ok…that would be all for now!, see you in our next #Magento tutorial!