Translating the custom text in form.phtml file
-
09-12-2020 - |
Domanda
I have added some paragraph to form.phtml file and added the translation in the .../locale/nl_NL/Mage_Contacts.csv
. But the custom text does not get translated in contact us page when I switch the languages. I have refresh the cache of magento and browser. What step is missing?
Soluzione
You did not show, how you added the paragraph, but this is what it should look like so that it gets translated by Mage_Contacts.csv
:
Mage::helper('contacts')->__('here is your paragraph');
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange