Magento – Magento translations problem, parts of the translation dont take effect

magento-1.7theme

I have created and using Magento translations. Translations are placed under app/locale/language_LANGUAGE.csv

After the installation I figured out that some parts of translations dont work. CSV is perfectly fine, I have translated ALL fields that I need, and I have double checked that.

For some fields I had to use inline translations so I searched phtml and php files and edited translations manually. Its a weird thing, because I now have ie some phtml files with 8 fields that are translated from CSV, and one field that is translated manually.

Had someone this problem before? Why does not some parts of translations work?

Thanks

Best Answer

Magento have multiple translation scopes: Global, admin, theme & module. Depending on which block type (model) each template is defined by, the scope differs.

I'll would try adding your translation strings to your theme at: /app/design/frontend/yourpackage/yourtheme/locale/en_US/translate.csv

But it's better to know your scope, check which module/class $this is an instance of in each template, if it's not already defined in the template top comment block. Then you can add the translation strings to each modules own translation files or create them if they does not already exist.