Author Topic: Bookings droplet language  (Read 1834 times)

Offline anz

  • Posts: 76
Bookings droplet language
« on: March 15, 2010, 03:15:14 PM »
I'm using the bookings modul for a new website. in a sidebar I'm also using the bookings droplet to show the current month. so far everything is working fine, but where can I change the language for the current month?

[[Bookings?page=29&section=44]]

page 29 ist the year overview, the language there is okay (EN)! but the current month is DE!?

thanks for your help!

WebBird

  • Guest
Re: Bookings droplet language
« Reply #1 on: March 15, 2010, 04:07:34 PM »
Hmmm... Are you sure that the LANGUAGE constant is set correctly?

Try to change the Droplet code like this to see:

Old:

Code: [Select]
$return[] = Bookings_Month_Sheet( $_year, $_month, $section, true );
$return[] = '</div>';
return implode('', $return);

New:

Code: [Select]
$return[] = Bookings_Month_Sheet( $_year, $_month, $section, true );
$return[] = "Language constant: -" . LANGUAGE . "-<br />";
$return[] = '</div>';
return implode('', $return);

Offline anz

  • Posts: 76
Re: Bookings droplet language
« Reply #2 on: March 15, 2010, 04:46:15 PM »
I think I know what's wrong. I'm sorry, I have chosen the language on the page with the month dropplet instead of the page itself... thank you very much! the bookings modul is really great!

WebBird

  • Guest
Re: Bookings droplet language
« Reply #3 on: March 15, 2010, 07:21:09 PM »
Thnx. :-D