Viewing 3 replies - 1 through 3 (of 3 total)
  • Ali Darwich

    (@tokyobiyori)

    SUPER-O EL MOPO

    Hello! Thanks so much for your message! Unfortunately I believe this is related to an issue we are working on fixing with the WPML team. In the meantime, maybe you can try this fix that the WPML team provided one of our users here:

    https://www.ads-software.com/support/topic/issue-with-wmpl-string-translation-mixed-up/#post-14019152

    I hope this helps your issue! Please let me know how it goes ??

    I was experiencing this problem with WPML and The Events Calendar (admin toolbar in frontend appeared in 2 languages). I just updated a file as outlined in the issue linked above and the problem seems to be fixed. Hopefully this will be fixed by the plugin in an official update soon.

    Hi,

    I have the same issue but found a solution here https://wpml.org/errata/the-events-calendar-issues-with-string-translation/. They say that the issue will be fixed after the update. I updated the event calendar to Version 5.6.0 today but the issue persists.

    you need to modify /plugins/the-events-calendar/src/Tribe/I18n.php LINE 189

    From

    remove_filter( 'locale', $force_locale );

    to

    remove_filter( 'locale', $force_locale );
     
            foreach ( (array) $args[1] as $domain => $file ) {
                // Reload it with the correct language.
                unload_textdomain( $domain );
     
                if ( 'default' === $domain ) {
                    load_default_textdomain();
                } else {
                    Common::instance()->load_text_domain( $domain, $file );
                }
            }

    Dear Events Calendar team, please add the fix in the new version.

    • This reply was modified 3 years, 10 months ago by uwcdtestuser.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The Events Calendar doesn’t work properly with WPML plugin’ is closed to new replies.