praveen_dusari 11 Posting Whiz in Training

hi all, i have developed a joomla custom components and in the front end when the language is changed the text is not changing...even though i reloaded the language on refresh..

$language =& JFactory::getLanguage();
$extension = 'com_raffle';
$base_dir = dirname(__FILE__);
$language_tag = $language->getTag(); // loads the current language-tag
$language->load($extension, $base_dir, $language_tag, true);

anything more should be done..please guide me...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.