WordPress.org

Ready to get started?Download WordPress

Forums

Bookings
Booking system for english locale with language code en (6 posts)

  1. Ayushi Agarwal
    Member
    Posted 2 months ago #

    Hello

    I am using booking plugin for my client website and is working fine. But it has one issue.. my website is in multiple language.. for english website http://harmony.fo/?page_id=1719&lang=en shows error: failed to load language file.. can you please help me where to update so that the url load booking form in english locale.

    Thanks

    http://wordpress.org/plugins/bookings/

  2. zingiri
    Member
    Plugin Author

    Posted 2 months ago #

    What is English?

    Problem is that en is not a proper language code. There are different variants to English. Try en_GB and en_US for UK and US English.

  3. Ayushi Agarwal
    Member
    Posted 2 months ago #

    I know that en_GB or en_US works fine but i want to modify the plugin in some way so that when http://harmony.fo/?page_id=1719&lang=en is open it should load the booking plugin with en_US locale..

    Since we are using lang as en for en_US for our website.

  4. zingiri
    Member
    Plugin Author

    Posted 2 months ago #

    The plugin has a filter called 'bookings_http_call' that you can experiment with. It allows you to overwrite the parameters that are send to the back-end web service. You will see a 'lang' parameter in there.

  5. Ayushi Agarwal
    Member
    Posted 2 months ago #

    in the controlpanel.php file I tried to change en_US to en but it didnt work. I am new to wordpress can you explain exactly where I can change the settings to get it work

  6. Ayushi Agarwal
    Member
    Posted 2 months ago #

    Hello...
    Please help... i fine if i can always display the module in english... please help me i tried alot but cannot find any solution

Reply

You must log in to post.

About this Plugin

About this Topic