• Hello there,

    This is Andrés from the WPML compatibility team. I would like to report a compatibility issue between WPML and Amelia.

    It was initially reported in this ticket

    To replicate this issue, please follow these steps:

    • Visit the website anonymously and verify that Amelia booking forms display in the selected site language, for example.
    • Register or log in using a client account created from the frontend, which assigns a language based on the active site language during registration. Or assigning a language manually in the user profile page.
    • Change the site language after logging in and observe that the booking forms remain in the language assigned in the profile page.

    As workaround, we suggested this to our client:

    • Add the following code to your theme’s functions.php file.
    // WPML Workaround for compsupp-compsupp-8223
    if ( class_exists('Sitepress') ) {
    add_filter('amelia_modify_locale_filter', function($locale) {
    $lang_details = apply_filters( 'wpml_post_language_details', NULL ) ;
    $locale = $lang_details['locale'];
    return $locale;
    });
    }

    Could you please give it a look?
    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support stefanpetrov

    (@stefanpetrov)

    Hi Andres,

    Thanks for reaching out to us and for providing the detailed information. Your use case has been forwarded to our developers for further investigation. They will take a closer look, and as soon as we receive their feedback, I’ll get back to you with an update.

    In the meantime, if you have anything else to add or would like to report a different issue, please feel free to do so.

    Kind regards,
    Stefan

    Thread Starter Andrés Cifuentes

    (@andrescifuentesr)

    Thanks @stefanpetrov, please let us know if we can be of any help.
    Regards

    Plugin Support stefanpetrov

    (@stefanpetrov)

    Hi Andres,

    Apologies for the delayed response — we’ve been busy investigating the issue you reported. The developers informed me that they weren’t able to reproduce the problem.

    Here’s what we observed: if the Customer Panel is open in an incognito window while the booking form is open in another tab, when the language is switched, the booking form follows the page language, not the language of the logged-in customer.

    The developers are requesting any additional information that could help with further investigation.

    Thanks,
    Regards,
    Stefan

    Thread Starter Andrés Cifuentes

    (@andrescifuentesr)

    Hello Stefan,

    Thank you for your feedback and investigating this issue. Maybe this video provided by the user can be more helpful. It is on Spanish, but it shows how to reproduce the issue on his site.

    Please let me know if it helps.
    Regards

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.