{"id":1961046,"date":"2024-07-23T10:54:45","date_gmt":"2024-07-23T14:54:45","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1961046"},"modified":"2024-08-20T11:18:02","modified_gmt":"2024-08-20T15:18:02","slug":"setting-up-the-events-calendar-with-wpml-legacy","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/setting-up-the-events-calendar-with-wpml-legacy\/","title":{"rendered":"WPML Configuration"},"content":{"rendered":"\n<p>At the time of writing, the popular&nbsp;WPML plugin is compatible with the following plugins:&nbsp;<strong>The Events Calendar,<\/strong>&nbsp;<strong>The Events Calendar Pro<\/strong>, and <strong>Filter Bar<\/strong>.<\/p>\n\n<p>As a general rule, for optimal compatibility, it is best to use versions of WPML and of our plugins that were released at around the same date.<\/p>\n\n<p>Please also understand that while we strive to be compatible with WPML and invest considerably in this effort, we can not guarantee 100% compatibility (as is true of third-party plugins generally).<\/p>\n\n<p><strong>Several of our&nbsp;other plugins and add-ons are not currently&nbsp;supported or compatible with WPML<\/strong>: Event Tickets, Event Tickets Plus, Community Events, Community Tickets, Eventbrite tickets, and Event Aggregator.<\/p>\n\n<p>The good news is that we are&nbsp;currently working at expanding compatibility and hope to add&nbsp;support for the rest of our premium add-ons in the near future.<\/p>\n\n<p>If you are looking for more information about setting up our&nbsp;<strong>Filter Bar<\/strong> add-on with WPML, please read our&nbsp;<strong><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/setting-up-filter-bar-with-wpml\/\" target=\"_blank\" rel=\"noreferrer noopener\">dedicated guide on this topic<\/a><\/strong>.<\/p>\n\n<h2 class=\"wp-block-heading\">Configuring the plugins<\/h2>\n\n<p>There are some important steps that are essential to&nbsp;ensure that these plugins will work together. We&#8217;ll start by assuming that you&#8217;ve already got The Events Calendar installed and activated and will start with the installation of the WPML plugin.<\/p>\n\n<p><p>Install WPML and follow the initial setup steps completely. There aren&#8217;t any special settings that need to be used at this point, however, it is important that you completely set up the WPML plugin once&nbsp;started without navigating away from the process.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2015\/09\/wpmlsetup.jpg\" alt=\"Setting up The Events Calendar with WPML - Setup WPML\"><\/figure><\/p>\n\n<p>Once the plugin is installed, completely set up, and registered, you&#8217;ll need to download some additional WPML dependency plugins.<\/p>\n\n<p>You can download these by navigating to the <strong>Plugins<\/strong> \u2192 <strong>Installed Plugins<\/strong> page from the WordPress dashboard.<\/p>\n\n<p>Find the WPML plugin you installed, look for the&nbsp;&#8220;Registered&#8221; link, and click it.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/03\/Screen-Shot-2022-03-11-at-6.43.07-AM.png\" alt=\"WPML Multilingual CMS plugin\" class=\"wp-image-1952231\"\/><\/figure>\n\n<p>This will take you to a page that will allow you to download some additional plugins for WPML. Select the <strong>WPML String Translation<\/strong> plugin. Make sure that you select the option to <strong>Activate after download<\/strong> and click <strong>Download<\/strong>.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/03\/Screen-Shot-2022-03-11-at-6.48.09-AM-1.png\" alt=\"Download the String Translation plugin from WMPL\" class=\"wp-image-1952230\"\/><\/figure>\n\n<p>After that additional plugin has been downloaded and activated, you&#8217;ll now have new administration menu items under the WPML section of your WordPress dashboard.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/03\/Screen-Shot-2022-03-11-at-6.55.56-AM.png\" alt=\"WPML menu\" class=\"wp-image-1952232\"\/><\/figure>\n\n<p><p>Navigate to the&nbsp;Settings page and make sure to select the <strong>Multilingual Content Setup<\/strong> tab.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2015\/09\/multilingualcontentsetup.jpg\" alt=\"Multilingual Content Setup\"><\/figure><\/p>\n\n<p>Select your <strong>Translation Mode<\/strong>, which is the first option in that tab. You can choose whether to translate everything or translate some of your content.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/03\/Screen-Shot-2022-03-11-at-7.03.13-AM.png\" alt=\"Translation Mode with WPML\" class=\"wp-image-1952233\"\/><\/figure>\n\n<p><br>Then select either the Advanced Translation Editor or the Classic Translation Editor.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/03\/Screen-Shot-2022-03-11-at-7.09.42-AM.png\" alt=\"Translation Editor setting in WPML\" class=\"wp-image-1952234\"\/><\/figure>\n\n<p><strong>Note:<\/strong> The Classic Translation Editor will work if you are using The Events Calendar by itself. If you are using Events Calendar Pro alongside The Events Calendar, please note that recurring events will not work with the Classic Translation editor.<\/p>\n\n<p>Scroll down to the <strong>Slug translations<\/strong><em><strong>&nbsp;<\/strong><\/em>section, check&nbsp;the &#8220;Translate custom post and taxonomy base slugs (via WPML String Translation)&#8221; box, and click <strong>Save<\/strong>.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/03\/Screen-Shot-2022-03-11-at-7.15.13-AM.png\" alt=\"Slug translations &gt; Translate custom post and taxonomy based slugs with WPML\" class=\"wp-image-1952235\"\/><\/figure>\n\n<p>Scroll down&nbsp;to the bottom of the same&nbsp;tab&nbsp;to the &#8220;<strong>Post Types Translation<\/strong>&#8221; and &#8220;<strong>Taxonomies Translation<\/strong>&#8221; sections.<\/p>\n\n<p>By clicking on the &#8220;Set different slugs in different languages for Events&#8221; link, you can choose to use a different slug for each language if you want to (see screenshot)<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/03\/Screen-Shot-2022-03-11-at-8.17.02-AM.png\" alt=\"Set different slugs in different languages for Events with WPML\" class=\"wp-image-1952236\"\/><\/figure>\n\n<p>&nbsp;<\/p>\n\n<p>The basic&nbsp;plugin setup is now complete! You are ready to start managing translations for your event. Be sure to review our&nbsp;<a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/creating-translations-for-events-using-wpml\/\" target=\"_blank\" rel=\"noreferrer noopener\">Creating Translations for Events Using WPML<\/a> article for essential&nbsp;tips.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"untranslated\">Displaying your events in other languages when they are not translated<\/h2>\n\n<p>In an ideal world, you would translate all of your events.<br>But sometimes, that is simply not possible for a handful of reasons.<\/p>\n\n<p>Head over to <strong>WPML<\/strong> \u2192 <strong>Settings<\/strong> \u2192&nbsp;<strong>Post Types Translation<\/strong> and select &#8220;Translatable &#8211; use translation if available or fallback to default language&#8221; for <strong>Events<\/strong>.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2015\/09\/untranslatedevent.jpg\" alt=\"Post Types Translation Events\"\/><\/figure>\n\n<p>You should now be able to display non-translated events in all languages.<\/p>\n\n<p>This also allows you to &#8220;cheat&#8221; a little and fake WPML compatibility if you are using Event Aggregator.<\/p>\n\n<p>To be clear, this does not make Event Aggregator compatible with WPML. It merely allows you to display its untranslated events in all languages.<\/p>\n\n<h2 class=\"wp-block-heading\">Setting your profile up for success<\/h2>\n\n<p>Some of our awesome customers have experienced issues with some of the elements of Events, Venues, and Organizers not being translated properly when toggling between languages.<\/p>\n\n<p>Before this happens to you too, we highly recommend:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Heading over to your profile<\/li>\n\n<li>Look for the <strong>WPML language settings <\/strong>section<\/li>\n\n<li>Make sure you check the &#8220;Set admin language as editing language.&#8221; option.<\/li>\n<\/ol>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2015\/09\/wpmllang.png\" alt=\"Editing Language\"\/><\/figure>\n\n<h2 class=\"wp-block-heading\">Emptying the WPML cache and preventing 404 errors<\/h2>\n\n<p>Starting with version 3.5.3, WPML uses caching to offer awesome performance on multilingual sites.<\/p>\n\n<p>With that in mind, sometimes this&nbsp;can also cause 404 error messages, especially after one of the following changes:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Upgrading one of our plugins<\/li>\n\n<li>Activating a WPML option such as &#8220;Custom post slug&#8221;<\/li>\n<\/ol>\n\n<p>To resolve this, here is the recommended procedure:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Disable WPML custom slug translation (see step 6 above)<\/li>\n\n<li>Save the settings<\/li>\n\n<li>Re-enable WPML custom slug translation<\/li>\n\n<li>Save the settings<\/li>\n\n<li>Flush permalinks in WordPress under <strong>Settings <\/strong>\u2192<strong> Permalinks <\/strong>\u2192<strong> Save<\/strong><\/li>\n<\/ol>\n\n<p>These steps will flush the WPML cache and avoid 404s errors in the calendar.<\/p>\n\n<p>If that still does not work, after a quick database backup, try deactivating and reactivating all plugins related to The Events Calendar.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At the time of writing, the popular&nbsp;WPML plugin is compatible with the following plugins:&nbsp;The Events Calendar,&nbsp;The Events Calendar Pro, and Filter Bar. As a general rule, for optimal compatibility, it is best to use versions of WPML and of our plugins that were released at around the same date. Please also understand that while we&#8230;<\/p>\n","protected":false},"author":46,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":true,"footnotes":""},"categories":[46],"tags":[92],"stellar-product-taxonomy":[161],"class_list":["post-1961046","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-integrations","tag-translations","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":46,"label":"Integrations"}],"post_tag":[{"value":92,"label":"Translations"}],"stellar-product-taxonomy":[{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Iris Irvin","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/iris\/"},"comment_info":0,"category_info":[{"term_id":46,"name":"Integrations","slug":"integrations","term_group":0,"term_taxonomy_id":46,"taxonomy":"category","description":"","parent":0,"count":115,"filter":"raw","term_order":"0","cat_ID":46,"category_count":115,"category_description":"","cat_name":"Integrations","category_nicename":"integrations","category_parent":0}],"tag_info":[{"term_id":92,"name":"Translations","slug":"translations","term_group":0,"term_taxonomy_id":92,"taxonomy":"post_tag","description":"","parent":0,"count":16,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1961046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1961046"}],"version-history":[{"count":3,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1961046\/revisions"}],"predecessor-version":[{"id":1962604,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1961046\/revisions\/1962604"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1961046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1961046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1961046"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1961046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}