How to load language file in joomla component

Posted by jax on Stack Overflow See other posts from Stack Overflow or by jax
Published on 2010-06-17T04:02:05Z Indexed on 2010/06/17 4:03 UTC
Read the original article Hit count: 406

Filed under:

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?

© Stack Overflow or respective owner

Related posts about joomla