Magento Translations module
One of the best things in Magento, you can easily add new languages on its Web site. It is done all using CSV files, a file for a module for each language. For most major languages translations are available as free Magento Connect modules.
What if we want to change the translation and not lose changes, after upgrading Magento and translations? Or if we want to translate common regardless of module? Or just a list of all the texts that were taken from us, and are not original texts Magento? We can use our own very simple translation module.
You need to edit only two files:
* Etc / config.xml
0.1.0 Baobaz_Translations_Helper Baobaz_Translations.csv
class Baobaz_Translations_Helper_Data extends Mage_Core_Helper_Abstract { }
and that’s it. Module must be switched on (in etc / modules) and it will work.
in app / locale / fr_FR / file we create Baobaz_Translations.csv and in him we have all the new translations that we need.
Then, somewhere in Magento, whether it use templates, block or controller, we can:
echo Mage::helper(‘translations’)->__(‘text to translate’);
Recent Posts
Meta new update to increase lead quality
Are you running Facebook Lead Ads but unhappy with the quality of leads you're getting? A key setting and a recent update cou...
YouTube Announces Updates to Its Teen Safety Tools
YouTube has introduced new safety features for teen users, including extra third-party resources to promote safer and more mi...
Customer-Centric SEO: How to Enhance Customer Experiences
What Is Customer-Centric SEO? Customer-centric SEO focuses on making the user’s online experience smooth and engaging fr...
Google’s Testing New Age Detection Processes to Protect Young Users
Google has introduced new safety features to protect young users of its apps. This includes a new system that uses machine le...
