JHotelReservation Forum - JHotelReservation Joomla Multi-language integration

Support Forum

 
 

 

I'm trying to integrate joomla 1.7 multilanguage system with JHotelReservation. I made two modules for check availability, one for english content and one for another language. Is there any way to switch the component language same time as website content language ( through language switcher plugin).

As I seen now you can set the component language in admin panel, but it cannot switch automatically with front-end language.

Any advice to achive this ?

Thank you.

4 replies

Hi Iulian, 

Currently we don't have this feature. We are planning to integrate this in our next release.


 

Sorry for my English.

I've done simply by replacing '_lang' with 'lang' in file mod_jhotelreservation.php.

This is the change:

----------

if( JRequest::getVar('_lang') =='' )
{
if( $list[0]->default_frontend_language =='' )
JRequest::setVar('_lang',$language->_lang );
else
JRequest::setVar('_lang',$list[0]->default_frontend_language );
}
$language_tag = JRequest::getVar( '_lang' );

----------

if( JRequest::getVar('lang') =='' )
{
if( $list[0]->default_frontend_language =='' )
JRequest::setVar('_lang',$language->lang );
else
JRequest::setVar('_lang',$list[0]->default_frontend_language );
}
$language_tag = JRequest::getVar( '_lang' );

Enjoy it!

manuweb, you're great, thanks!

Well done manuweb!

Thx

 
 
 

5 Item(s)

Show per page