Book Image

Magento 1.8 Development Cookbook

By : Bart Delvaux, Nurul Ferdous
Book Image

Magento 1.8 Development Cookbook

By: Bart Delvaux, Nurul Ferdous

Overview of this book

<p>Magento is an open source e-commerce platform which has all the functionality to function from small to large online stores. Its architecture makes it possible to extend the functionalities with plugins where a lot of them are shared by the community. This is the reason why the platform is liked by developers and retailers.</p> <p>A practical developer guide packed with recipes that cover all the parts of Magento development. The recipes will start with the simple development exercises and get the more advanced as the book progresses. A good reference for every Magento developer!</p> <p>This book starts with the basics. The first thing is to create a test environment. Next, the architecture, tools, files and other basics are described to make you ready for the real work.</p> <p>The real work starts with the simple things like theming and catalog configuration. When you are familiar with this, we will move on to more complex features such as module and database development. When you have survived this, we will move on to the last part of making a shop ready for launch: performance optimization and testing. This book will guide you through all the development phases of Magento, covering the most common pitfalls through its recipes.</p>
Table of Contents (19 chapters)
Magento 1.8 Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Working with translations


Magento has the ability to run multiple stores in different languages. In the sample store, you can see English, French, and a German store view.

Getting ready

Open the backend and go to the general configuration section (System | Configuration | General). We will configure the languages for the store views and do some inline translations.

How to do it...

The following steps show you how you can translate strings in a Magento store:

  1. Configure the languages for each store view.

  2. At the top-left corner, you will see a store switcher where you can switch the configuration for a store. Set the French language for the French store view and the German language for the German store view.

  3. Clear the cache and reload your frontend.

    Tip

    You will see no changes because there is no language pack installed by default for French and German. Language packs are available in Magento Connect.

  4. Enable the inline translation. We will translate our store with the inline translation tool that you...