How to load language file in joomla component
- by jax
I am creating a joomla component and want to externalise all my strings.
I created the appropriate .ini file in the languages folder but when I rum
JText::_('TEST_DATA');
It just prints out nothing (could not find the string).
How do I tell Joomla to look in the .ini file I created for the component?