I am developing my own module for installing Magento (version 1.6.2.0). I registered the translation file for the module in the config.xml file and started adding German translations. The module adds new behavior to the end of Magento.
During the translation, I noticed the strange behavior of Magento. Some words are not translated by Magento, although translation is provided in the module's csv file.
When I change the key to a different value, the translation works as expected, so Magento seems to see and read the cvs file.
At the moment, I notice this behavior for the keys "City" and "Shop".
The contents of the csv file:
"City","Stadt" "City1","Stadt"
I use the following line to translate lines.
Mage::helper('mymodule')->__('City')
When I change the key to "City1", everything works as expected.
Mage::helper('mymodule')->__('City1')
After that, I searched the German csv translation file (provided by the German Magento community) to translate the "City" key and found it in the "adminhtml module".
Mage::helper('adminhtml')->__('City')
So, this also works as expected.
I do not know what I am doing wrong. As I said, the same behavior is observed for the line "Store".
Any ideas on this?