Fetching current Transposh languge for Booking plugin (1 post)

  1. lijndiensten
    Posted 3 years ago #

    Hi all - I am using the plugin Booking Systems Pro and include a reservation form on several pages with a shortcode. The form is not being translated by Transposh and not following Transposh's current language - it's always in English or in the language I tell it to be in the shortcode. Can someone tell me how to instruct the shortcode to following the site's current language?

    if (array_key_exists('lang', $atts)){
                        $language = $atts['lang'];
                        $language = 'en'; // instead of 'en' I want Transposh's current language.


Topic Closed

This topic has been closed to new replies.

About this Topic