{"id":1896656,"date":"2019-10-18T13:19:47","date_gmt":"2019-10-18T17:19:47","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/setting-up-filter-bar-with-wpml-2\/"},"modified":"2020-03-05T02:42:05","modified_gmt":"2020-03-05T07:42:05","slug":"setting-up-filter-bar-with-wpml","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/setting-up-filter-bar-with-wpml\/","title":{"rendered":"Setting Up Filter Bar With WPML"},"content":{"rendered":"<p>Want to use WPML\u00a0alongside <a href=\"https:\/\/theeventscalendar.com\/product\/wordpress-events-filterbar\/\"><b>Filter Bar<\/b><\/a>? Though we don&#8217;t officially support this combination, we wanted to share a few tips and tricks that can lead to pretty good results when setting up Filter Bar with WPML.<\/p>\n<p>Before you dive in, please make sure you have read through our\u00a0<strong><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/setting-up-the-events-calendar-with-wpml\/\">Setting up\u00a0the Events Calendar with WPML<\/a><\/strong> guide first of all.<\/p>\n<p>The good news is that you do not need to do much since the default filters labels from Filter Bar will be automatically translatable via in the String Translation interface.<\/p>\n<h3>Translating active custom filter titles<\/h3>\n<p>This is a bit of a bonus, but let&#8217;s say you&#8217;re working with custom fields. There&#8217;s a slightly different process to translate these.<\/p>\n<ol>\n<li>Head over to <strong>WPML \u2192\u00a0String Translation<\/strong>.<\/li>\n<li>Scroll all the way down of that page and look for the &#8220;Translate texts in admin screens&#8221; link.<br \/>\n<img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2017\/09\/adminscreens.jpg\" alt=\"Settings in WPML String Translation to help with Filter Bar. See &quot;Translate texts in admin screens \u00bb &quot;\" \/><\/li>\n<li>Click on the\u00a0\u201cTranslate texts in admin screens \u00bb\u201d link and look for <code>tribe_events_filters_current_active_filters<\/code>.<\/li>\n<li>Click on the\u00a0<em><strong>+<\/strong><\/em> sign to expand the <code>tribe_events_filters_current_active_filter<\/code>.<br \/>\n<img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2017\/09\/active_filters.jpg\" alt=\"Setting up Filter Bar with WPML: Click on the\u00a0+ sign to expand the tribe_events_filters_current_active_filters twisty\" \/><\/li>\n<li>Expand each of your custom active filters.<br \/>\n<img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2017\/09\/customexpand.jpg\" alt=\"Click on the\u00a0+ sign to expand each of your custom active filters twisties\" \/><\/li>\n<li>In each of the newly expanded row, make sure the checkboxes for the <code>title<\/code> option is checked.<br \/>\n<em><strong><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2017\/09\/customtitle.jpg\" alt=\"make sure the checkboxes for the\u00a0title option is checked\" \/><\/strong><\/em><\/li>\n<li>Click on the\u00a0<strong>Apply<\/strong> button located at the bottom of the screen.<\/li>\n<\/ol>\n<p>Once that is done, these strings will appear under your normal string translation interface.You can now translate your custom active filter titles to your liking!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to use WPML\u00a0alongside Filter Bar? Though we don&#8217;t officially support this combination, we wanted to share a few tips and tricks that can lead to pretty good results when setting up Filter Bar with WPML. Before you dive in, please make sure you have read through our\u00a0Setting up\u00a0the Events Calendar with WPML guide first&#8230;<\/p>\n","protected":false},"author":2,"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":false,"footnotes":""},"categories":[74],"tags":[],"stellar-product-taxonomy":[159],"class_list":["post-1896656","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-filter-bar","stellar-product-taxonomy-filter-bar"],"acf":[],"taxonomy_info":{"category":[{"value":74,"label":"Search Filters"}],"stellar-product-taxonomy":[{"value":159,"label":"Filter Bar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"zach","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/zach\/"},"comment_info":0,"category_info":[{"term_id":74,"name":"Search Filters","slug":"filter-bar","term_group":0,"term_taxonomy_id":74,"taxonomy":"category","description":"","parent":61,"count":8,"filter":"raw","term_order":"0","cat_ID":74,"category_count":8,"category_description":"","cat_name":"Search Filters","category_nicename":"filter-bar","category_parent":61}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896656","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1896656"}],"version-history":[{"count":1,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896656\/revisions"}],"predecessor-version":[{"id":1956165,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896656\/revisions\/1956165"}],"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=1896656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1896656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1896656"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1896656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}