I try to translate a text in a function inside sales_helper_data
with this code $this->__('TEXT')
but it just returns the same input string.
I Also tried Mage::helper('sales')->__("TEXT")
, Mage::helper('Admin')->__("TEXT")
. Admin due to my module is admin module and created Mage_sales.csv
in local/[lanfuage]
I Debugged the code and the Mage::app()->getTranslator()->getData()
is an empty array. what's the problem?