CINXE.COM
How to translate Modern Events Calendar
<!DOCTYPE html> <html lang="fr-fr" dir="ltr"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="/images/logo_faboba_icon.png" sizes="any"> <link rel="apple-touch-icon" href="/templates/yootheme/packages/theme-joomla/assets/images/apple-touch-icon.png"> <meta charset="utf-8" /> <base href="https://www.faboba.com/en/wordpress/falang-for-wordpress/documentation/137-how-to-translate-modern-events-calendar.html" /> <meta name="author" content="St茅phane Bouey" /> <meta name="generator" content="Joomla! - Open Source Content Management" /> <title>How to translate Modern Events Calendar</title> <link href="https://www.faboba.com/en/component/search/?Itemid=474&catid=25&id=137&format=opensearch" rel="search" title="Search Faboba" type="application/opensearchdescription+xml" /> <link href="/media/com_hikashop/css/hikashop.css?v=441" rel="stylesheet" /> <link href="/media/com_hikashop/css/font-awesome.css?v=5.2.0" rel="stylesheet" /> <link href="/media/plg_content_prismsyntaxhighlighter/css/prism-okaidia.css" rel="stylesheet" /> <link href="/media/plg_content_prismsyntaxhighlighter/css/prism-linenumbers.css" rel="stylesheet" /> <link href="/plugins/system/jcemediabox/css/jcemediabox.css?380a314203b6e1c4df5166f3a813030a" rel="stylesheet" /> <link href="/plugins/system/jcemediabox/themes/standard/css/style.css?d87dffc9fb8dea99ab4b1f595c76714f" rel="stylesheet" /> <link href="/media/mod_falang/css/template.css" rel="stylesheet" /> <link href="/templates/yootheme_faboba5/css/theme.23.css?1730803955" rel="stylesheet" /> <link href="/templates/yootheme_faboba5/css/custom.css?4.3.4" rel="stylesheet" /> <link href="/media/com_hikashop/css/notify-metro.css?v=441" rel="stylesheet" /> <style> #hikashop_category_information_module_49 div.hikashop_subcontainer, #hikashop_category_information_module_49 .hikashop_rtop *,#hikashop_category_information_module_49 .hikashop_rbottom * { background:#FFFFFF; } #hikashop_category_information_module_49 div.hikashop_subcontainer, #hikashop_category_information_module_49 div.hikashop_subcontainer span, #hikashop_category_information_module_49 div.hikashop_container { text-align:center; } #hikashop_category_information_module_49 div.hikashop_container { margin:10px 10px; } #hikashop_category_information_module_49 .hikashop_subcontainer { -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; } </style> <script src="/media/com_hikashop/js/hikashop.js?v=441"></script> <script src="/media/plg_content_prismsyntaxhighlighter/js/prism-tinymce.js"></script> <script src="/plugins/system/jcemediabox/js/jcemediabox.js?d95577726527bb372fd7fcb454409743"></script> <script src="/templates/yootheme/vendor/assets/uikit/dist/js/uikit.min.js?4.3.4"></script> <script src="/templates/yootheme/vendor/assets/uikit/dist/js/uikit-icons-copper-hill.min.js?4.3.4"></script> <script src="/templates/yootheme/js/theme.js?4.3.4"></script> <script src="/media/jui/js/jquery.min.js?5f8cdc8a7e21bc4a5cea8b0e776adc94"></script> <script src="/media/jui/js/jquery-noconflict.js?5f8cdc8a7e21bc4a5cea8b0e776adc94"></script> <script src="/media/jui/js/jquery-migrate.min.js?5f8cdc8a7e21bc4a5cea8b0e776adc94"></script> <script src="/media/com_hikashop/js/notify.min.js?v=441"></script> <script src="/plugins/hikashop/cartnotify/media/notify.js"></script> <script> JCEMediaBox.init({popup:{width:"",height:"",legacy:0,lightbox:0,shadowbox:0,resize:1,icons:1,overlay:1,overlayopacity:0.8,overlaycolor:"#000000",fadespeed:500,scalespeed:500,hideobjects:0,scrolling:"fixed",close:2,labels:{'close':'Close','next':'Next','previous':'Previous','cancel':'Cancel','numbers':'{$current} of {$total}'},cookie_expiry:"",google_viewer:0,pdfjs:0},tooltip:{className:"tooltip",opacity:0.8,speed:150,position:"br",offsets:{x: 16, y: 16}},base:"/",imgpath:"plugins/system/jcemediabox/img",theme:"standard",themecustom:"",themepath:"plugins/system/jcemediabox/themes"}); if(!window.localPage) window.localPage = {}; window.localPage.cartRedirect = function(cid,pid,resp){window.location="/en/component/hikashop/checkout.html";}; window.localPage.wishlistRedirect = function(cid,pid,resp){window.location="/en/component/hikashop/product/listing.html";}; jQuery.notify.defaults({"arrowShow":false,"globalPosition":"top right","elementPosition":"top right","clickToHide":true,"autoHideDelay":5000,"autoHide":true}); window.cartNotifyParams = {"reference":"global","img_url":"\/media\/com_hikashop\/images\/icons\/icon-32-newproduct.png","redirect_url":"","redirect_delay":4000,"title":"Product added to the cart","text":"Product successfully added to the cart","wishlist_title":"Product added to the wishlist","wishlist_text":"Product successfully added to the wishlist","list_title":"Products added to the cart","list_text":"Products successfully added to the cart","list_wishlist_title":"Products added to the wishlist","list_wishlist_text":"Products successfully added to the wishlist","err_title":"Product not added to the cart","err_text":"Product not added to the cart","err_wishlist_title":"Product not added to the wishlist","err_wishlist_text":"Product not added to the wishlist"}; </script> <script>window.yootheme ||= {}; var $theme = yootheme.theme = {"i18n":{"close":{"label":"Close"},"totop":{"label":"Back to top"},"marker":{"label":"Open"},"navbarToggleIcon":{"label":"Open menu"},"paginationPrevious":{"label":"Previous page"},"paginationNext":{"label":"Next page"},"searchIcon":{"toggle":"Open Search","submit":"Submit Search"},"slider":{"next":"Next slide","previous":"Previous slide","slideX":"Slide %s","slideLabel":"%s of %s"},"slideshow":{"next":"Next slide","previous":"Previous slide","slideX":"Slide %s","slideLabel":"%s of %s"},"lightboxPanel":{"next":"Next slide","previous":"Previous slide","slideLabel":"%s of %s","close":"Close"}}};</script> </head> <body class=""> <div class="uk-hidden-visually uk-notification uk-notification-top-left uk-width-auto"> <div class="uk-notification-message"> <a href="#tm-main">Skip to main content</a> </div> </div> <div class="tm-page"> <header class="tm-header-mobile uk-hidden@m"> <div class="uk-navbar-container"> <div class="uk-container uk-container-expand"> <nav class="uk-navbar" uk-navbar="{"align":"right","container":".tm-header-mobile","boundary":".tm-header-mobile .uk-navbar-container","target-y":".tm-header-mobile .uk-navbar-container","dropbar":true,"dropbar-anchor":".tm-header-mobile .uk-navbar-container","dropbar-transparent-mode":"remove"}"> <div class="uk-navbar-left"> <a href="https://www.faboba.com/en/" aria-label="Back to home" class="uk-logo uk-navbar-item"> <picture> <source type="image/webp" srcset="/templates/yootheme/cache/4c/2024-03-13-faboba-logo-transparent-v2_opt-4c0ee4cc.webp 260w, /templates/yootheme/cache/8e/2024-03-13-faboba-logo-transparent-v2_opt-8e8ee8db.webp 520w" sizes="(min-width: 260px) 260px"> <img alt loading="eager" src="/templates/yootheme/cache/47/2024-03-13-faboba-logo-transparent-v2_opt-471836a2.png" width="260" height="80"> </picture></a> </div> <div class="uk-navbar-right"> <a uk-toggle href="#tm-dialog-mobile" class="uk-navbar-toggle"> <div uk-navbar-toggle-icon></div> </a> </div> </nav> </div> </div> <div id="tm-dialog-mobile" uk-offcanvas="container: true; overlay: true" mode="slide" flip> <div class="uk-offcanvas-bar uk-flex uk-flex-column"> <button class="uk-offcanvas-close uk-close-large" type="button" uk-close uk-toggle="cls: uk-close-large; mode: media; media: @s"></button> <div class="uk-margin-auto-bottom"> <div class="uk-panel" id="module-menu-dialog-mobile"> <ul class="uk-nav uk-nav-default uk-nav-accordion" uk-nav="targets: > .js-accordion"> <li class="item-101"><a href="/en/"> Home</a></li> <li class="item-103"><a href="/en/all-projects.html"> All Projects</a></li> <li class="item-470 uk-active js-accordion uk-open uk-parent"><a href> Wordpress <span uk-nav-parent-icon></span></a> <ul class="uk-nav-sub"> <li class="item-471 uk-active uk-parent"><a href="/en/wordpress/falang-for-wordpress/presentation.html"> Falang for wordpress</a> <ul> <li class="item-472"><a href="/en/wordpress/falang-for-wordpress/presentation.html"> Presentation</a></li> <li class="item-473"><a href="/en/wordpress/falang-for-wordpress/telechargement-achat.html"> Download - Buy</a></li> <li class="item-474 uk-active"><a href="/en/wordpress/falang-for-wordpress/documentation.html"> Documentation</a></li> <li class="item-475"><a href="/en/wordpress/falang-for-wordpress/changelog.html"> Changelog</a></li></ul></li> <li class="item-490 uk-parent"><a href="/en/wordpress/falang-divi/presentation.html"> Falang for Divi</a> <ul> <li class="item-492"><a href="/en/wordpress/falang-divi/presentation.html"> Presentation</a></li> <li class="item-491"><a href="/en/wordpress/falang-divi/download-buy.html"> Download - Buy</a></li> <li class="item-545"><a href="/en/wordpress/falang-divi/documentation.html"> Documentation</a></li></ul></li> <li class="item-493 uk-parent"><a href="/en/wordpress/falang-for-elementor/presentation.html"> Falang for Elementor</a> <ul> <li class="item-494"><a href="/en/wordpress/falang-for-elementor/presentation.html"> Presentation</a></li> <li class="item-496"><a href="/en/wordpress/falang-for-elementor/download-buy.html"> Download - Buy</a></li> <li class="item-558"><a href="/en/wordpress/falang-for-elementor/documentation.html"> Documentation</a></li> <li class="item-563"><a href="/en/wordpress/falang-for-elementor/changelog.html"> Changelog</a></li></ul></li> <li class="item-512 uk-parent"><a href="/en/wordpress/falang-for-wpbakery/presentation.html"> Falang for WPBakery</a> <ul> <li class="item-513"><a href="/en/wordpress/falang-for-wpbakery/presentation.html"> Presentation</a></li> <li class="item-514"><a href="/en/wordpress/falang-for-wpbakery/download-buy.html"> Download - Buy</a></li></ul></li> <li class="item-515 uk-parent"><a href="/en/wordpress/falang-for-yootheme/presentation.html"> Falang for YOOtheme</a> <ul> <li class="item-516"><a href="/en/wordpress/falang-for-yootheme/presentation.html"> Presentation</a></li> <li class="item-517"><a href="/en/wordpress/falang-for-yootheme/download-buy.html"> Download - Buy</a></li> <li class="item-518"><a href="/en/wordpress/falang-for-yootheme/documentation.html"> Documentation</a></li> <li class="item-544"><a href="/en/wordpress/falang-for-yootheme/changelog.html"> Changelog</a></li></ul></li></ul></li> <li class="item-132 uk-parent"><a href="/en/components.html"> Joomla <span uk-nav-parent-icon></span></a> <ul class="uk-nav-sub"> <li class="item-159 uk-parent"><a href="/en/composants/falang/presentation.html"> FaLang</a> <ul> <li class="item-160"><a href="/en/composants/falang/presentation.html"> Introduction</a></li> <li class="item-341"><a href="/en/composants/falang/documentation.html"> Documentation</a></li> <li class="item-162"><a href="/en/composants/falang/donwload.html"> Download - Buy</a></li> <li class="item-354"><a href="/en/composants/falang/gratuit-vs-payant.html"> Free vs Paid</a></li> <li class="item-185"><a href="/en/composants/falang/extensions.html"> Extensions</a></li> <li class="item-348"><a href="/en/composants/falang/changelog.html"> Changelog</a></li> <li class="item-164"><a href="/en/composants/falang/faq.html"> F.A.Q</a></li> <li class="item-410"><a href="/en/components/falang/languages-pack.html"> Languages pack</a></li></ul></li> <li class="item-433 uk-parent"><a href="/en/components/sppbtranslate/presentation.html"> Translate for SP Page Builder</a> <ul> <li class="item-434"><a href="/en/components/sppbtranslate/presentation.html"> Presentation</a></li> <li class="item-435"><a href="/en/components/sppbtranslate/download-buy.html"> Download - Buy</a></li> <li class="item-459"><a href="/en/composants/sppbtranslate/documentation.html"> Documentation</a></li> <li class="item-461"><a href="/en/composants/sppbtranslate/changelog.html"> Changelog</a></li></ul></li> <li class="item-508 uk-parent"><a href="/en/components/translate-for-yootheme-builder/presentation.html"> Translate for Yootheme Builder</a> <ul> <li class="item-507"><a href="/en/components/translate-for-yootheme-builder/presentation.html"> Presentation</a></li> <li class="item-509"><a href="/en/components/translate-for-yootheme-builder/download-buy.html"> Download - Buy</a></li> <li class="item-510"><a href="/en/composants/translate-for-yootheme-builder/documentation.html"> Documentation</a></li> <li class="item-511"><a href="/en/composants/translate-for-yootheme-builder/changelog.html"> Changelog</a></li></ul></li> <li class="item-337 uk-parent"><a href="/en/composants/fish2falang/presentation.html"> Fish2Falang</a> <ul> <li class="item-338"><a href="/en/composants/fish2falang/presentation.html"> Description</a></li> <li class="item-339"><a href="/en/composants/fish2falang/documentation.html"> Documentation</a></li> <li class="item-340"><a href="/en/composants/fish2falang/download.html"> Download</a></li></ul></li></ul></li> <li class="item-106"><a href="/en/contact.html"> Contact</a></li></ul> </div> </div> </div> </div> </header> <div class="tm-toolbar tm-toolbar-default uk-visible@m"> <div class="uk-container uk-flex uk-flex-middle"> <div> <div class="uk-grid-medium uk-child-width-auto uk-flex-middle" uk-grid="margin: uk-margin-small-top"> <div> <div class="uk-panel" id="module-tm-4"> <ul class="uk-flex-inline uk-flex-middle uk-flex-nowrap uk-grid-small" uk-grid> <li><a href="https://www.facebook.com/fabobaweb/" class="uk-preserve-width uk-icon-link" rel="noreferrer" target="_blank"><span uk-icon="icon: facebook;"></span></a></li> <li><a href="https://www.youtube.com/@faboba_web" class="uk-preserve-width uk-icon-link" rel="noreferrer" target="_blank"><span uk-icon="icon: youtube;"></span></a></li> </ul> </div> </div> </div> </div> <div class="uk-margin-auto-left"> <div class="uk-grid-medium uk-child-width-auto uk-flex-middle" uk-grid="margin: uk-margin-small-top"> <div> <div class="uk-panel" id="module-menu-toolbar-right"> <ul class="uk-subnav" uk-dropnav="{"boundary":"false","container":"body"}"> <li class="item-559"><a href="/en/join-now.html"> Join Now</a></li> <li class="item-560"><a href="/en/sign-in.html"> Sign In</a></li></ul> </div> </div><div> <div class="uk-panel" id="module-49"> <div class="hikashop_cart_module " id="hikashop_cart_module"> <script type="text/javascript"> window.Oby.registerAjax(["cart.updated","checkout.cart.updated"], function(params) { var o = window.Oby, el = document.getElementById('hikashop_cart_49'); if(!el) return; if(params && params.resp && (params.resp.ret === 0 || params.resp.module == 49)) return; if(params && params.type && params.type != 'cart') return; o.addClass(el, "hikashop_checkout_loading"); o.xRequest("/en/component/hikashop/product/cart/module_id-49/module_type-cart/tmpl-component.html", {update: el, mode:'POST', data:'return_url=aHR0cHM6Ly93d3cuZmFib2JhLmNvbS9lbi93b3JkcHJlc3MvZmFsYW5nLWZvci13b3JkcHJlc3MvZG9jdW1lbnRhdGlvbi8xMzctaG93LXRvLXRyYW5zbGF0ZS1tb2Rlcm4tZXZlbnRzLWNhbGVuZGFyLmh0bWw%3D'}, function(xhr){ o.removeClass(el, "hikashop_checkout_loading"); }); }); </script> <div id="hikashop_cart_49" class="hikashop_cart"> <div class="hikashop_checkout_loading_elem"></div> <div class="hikashop_checkout_loading_spinner small_spinner small_cart"></div> The cart is empty</div> <div class="clear_both"></div></div> </div> </div><div> <div class="uk-panel" id="module-55"> <div class="mod-languages "> <ul class="lang-inline"> <!-- >>> [PAID] >>> --> <!-- <<< [PAID] <<< --> <!-- >>> [PAID] >>> --> <li class="" dir="ltr"> <a href="/fr/wordpress/falang-for-wordpress/documentation/137-how-to-translate-modern-events-calendar.html"> <img src="/media/mod_falang/images/fr.gif" alt="Fran莽ais (FR)" title="Fran莽ais (FR)" /> </a> </li> <!-- <<< [PAID] <<< --> </ul> </div> </div> </div> </div> </div> </div> </div> <header class="tm-header uk-visible@m"> <div class="uk-navbar-container"> <div class="uk-container"> <nav class="uk-navbar" uk-navbar="{"align":"right","container":".tm-header","boundary":".tm-header .uk-navbar-container","target-y":".tm-header .uk-navbar-container","dropbar":true,"dropbar-anchor":".tm-header .uk-navbar-container","dropbar-transparent-mode":"remove"}"> <div class="uk-navbar-left"> <a href="https://www.faboba.com/en/" aria-label="Back to home" class="uk-logo uk-navbar-item"> <picture> <source type="image/webp" srcset="/templates/yootheme/cache/4c/2024-03-13-faboba-logo-transparent-v2_opt-4c0ee4cc.webp 260w, /templates/yootheme/cache/8e/2024-03-13-faboba-logo-transparent-v2_opt-8e8ee8db.webp 520w" sizes="(min-width: 260px) 260px"> <img alt loading="eager" src="/templates/yootheme/cache/47/2024-03-13-faboba-logo-transparent-v2_opt-471836a2.png" width="260" height="80"> </picture></a> </div> <div class="uk-navbar-right"> <ul class="uk-navbar-nav"> <li class="item-101"><a href="/en/"> Home</a></li> <li class="item-103"><a href="/en/all-projects.html"> All Projects</a></li> <li class="item-470 uk-active uk-parent"><a role="button"> Wordpress <span uk-navbar-parent-icon></span></a> <div class="uk-navbar-dropdown" mode="hover" pos="bottom-right" style="width: 400px;"><div class="uk-grid uk-child-width-1-1 uk-grid-margin"> <div class="uk-width-1-1"> <nav class="uk-position-relative uk-width-small" style="top: 0;"> <ul class="uk-margin-remove-bottom uk-subnav uk-subnav-pill" uk-margin> <li class="el-item "> <a class="el-link" href="/en/wordpress/falang-for-wordpress/presentation.html">Falang for wordpress</a></li> <li class="el-item "> <a class="el-link" href="/en/wordpress/falang-divi/presentation.html">Falang for Divi</a></li> <li class="el-item "> <a class="el-link" href="/en/wordpress/falang-for-elementor/presentation.html">Falang for Elementor</a></li> <li class="el-item "> <a class="el-link" href="/en/wordpress/falang-for-wpbakery/presentation.html">Falang for WPBakery</a></li> <li class="el-item "> <a class="el-link" href="/en/wordpress/falang-for-yootheme/presentation.html">Falang for YOOtheme</a></li> </ul> </nav> <h4 class="uk-h4 uk-heading-line uk-text-primary uk-position-relative uk-text-center"> <span>Wordpress</span> </h4> </div></div></div></li> <li class="item-132 uk-parent"><a href="/en/components.html"> Joomla <span uk-navbar-parent-icon></span></a> <div class="uk-navbar-dropdown" style="width: 400px;"><div class="uk-grid tm-grid-expand uk-child-width-1-1 uk-grid-margin"> <div class="uk-width-1-1"> <div class="uk-width-small"> <ul class="uk-margin-remove-bottom uk-subnav uk-subnav-pill" uk-margin> <li class="el-item "> <a class="el-link" href="/en/composants/falang/presentation.html">FaLang</a></li> <li class="el-item "> <a class="el-link" href="/en/components/sppbtranslate/presentation.html">Translate for SP Page Builder</a></li> <li class="el-item "> <a class="el-link" href="/en/components/translate-for-yootheme-builder/presentation.html">Translate for Yootheme Builder</a></li> <li class="el-item "> <a class="el-link" href="/en/composants/fish2falang/presentation.html">Fish2Falang</a></li> </ul> </div> <h4 class="uk-h4 uk-heading-line uk-text-primary uk-position-relative uk-text-center"> <span>Joomla</span> </h4> </div></div></div></li> <li class="item-106"><a href="/en/contact.html"> Contact</a></li></ul> <a class="uk-navbar-toggle" id="module-tm-3" href="#search-tm-3-modal" uk-search-icon uk-toggle></a> <div id="search-tm-3-modal" class="uk-modal-full" uk-modal="container: true"> <div class="uk-modal-dialog uk-flex uk-flex-center uk-flex-middle" uk-height-viewport> <button class="uk-modal-close-full uk-close-large" type="button" uk-close uk-toggle="cls: uk-modal-close-full uk-close-large uk-modal-close-default; mode: media; media: @s"></button> <div class="uk-search uk-search-large"> <form id="search-tm-3" action="/en/wordpress/falang-for-wordpress/documentation.html" method="post" role="search" class="uk-search uk-search-large"><input name="searchword" placeholder="Search" minlength="3" aria-label="Search" type="search" class="uk-search-input uk-text-center" autofocus><input type="hidden" name="task" value="search"><input type="hidden" name="option" value="com_search"><input type="hidden" name="Itemid" value="474"></form> </div> </div> </div> </div> </nav> </div> </div> </header> <main id="tm-main" class="tm-main uk-section uk-section-default" uk-height-viewport="expand: true"> <div class="uk-container"> <div class="uk-grid" uk-grid> <div class="uk-width-expand@m"> <nav class="uk-margin-medium-bottom" aria-label="Breadcrumb"> <ul class="uk-breadcrumb" vocab="https://schema.org/" typeof="BreadcrumbList"> <li class="uk-disabled"> <a><span>Wordpress</span></a> </li> <li property="itemListElement" typeof="ListItem"> <a href="/en/wordpress/falang-for-wordpress/presentation.html" property="item" typeof="WebPage"><span property="name">Falang for wordpress</span></a> <meta property="position" content="1"> </li> <li property="itemListElement" typeof="ListItem"> <a href="/en/wordpress/falang-for-wordpress/documentation.html" property="item" typeof="WebPage"><span property="name">Documentation</span></a> <meta property="position" content="2"> </li> <li property="itemListElement" typeof="ListItem"> <span property="name">How to translate Modern Events Calendar</span> <meta property="position" content="3"> </li> </ul> </nav> <div id="system-message-container" data-messages="[]"> </div> <article id="article-137" class="uk-article" data-permalink="https://www.faboba.com/en/wordpress/falang-for-wordpress/documentation/137-how-to-translate-modern-events-calendar.html" typeof="Article" vocab="https://schema.org/"> <meta property="name" content=""> <meta property="author" typeof="Person" content="St茅phane Bouey"> <meta property="dateModified" content="2023-09-01T13:53:07+02:00"> <meta property="datePublished" content="2022-11-22T09:52:21+01:00"> <meta class="uk-margin-remove-adjacent" property="articleSection" content="Documentation"> <div class="uk-margin-medium-top" property="text"> <h1>How to translate Modern Events Calendar</h1> <p>The easiest solution for Modern Event Calendar聽is like this:</p> <h2>1)聽Enabled Event Translation</h2> <p>You have to enabled first the Event translation , for this go in Falang > Settings > Translate Options tab and enable the Events Post type聽</p> <p><img src="/images/article/falangw/how_to_translate_mec/how_to_translate_mec_1.png" alt="" /></p> <h2>2) Translate the Events , like all post type</h2> <p>This is directly possible in the M.E Calendar events list</p> <p><img src="/images/article/falangw/how_to_translate_mec/how_to_translate_mec_2.png" alt="" /></p> <p>Translate the content like all post type and custom post type.</p> <p><img src="/images/article/falangw/how_to_translate_mec/how_to_translate_mec_3.png" alt="" /></p> <h2>3) Fix expert display (Pro version)</h2> <p>The Falang Pro version 1.8+ translate directly the exerpt of an Event (need to be translated in Falang Evnent translation page)</p> <h2>4) fix excerpt display for specific skin render (ex: timeline view)</h2> <p>You can do you own code if you don't want to buy the pro version of Falang , here is an exemple below with teh timeline view</p> <p>If you use a Modern Events Calendar skin who display the exerpt, this exerpt can be translated (version 6.7.2 at least) , i'm in contact with them to update the MEC code to support Falang聽</p> <p>This exemple show you how to modify the timeline skin to display the exerpt translation</p> <p>in the file聽wp-content/plugins/modern-events-calendar-lite/app/skins/timeline/render.php change like this the code</p> <p>line 25 to 33聽</p> <pre class="language-php"><code> foreach($events as $event) { //sbou global $post; $post = get_post($event->data->post->ID); setup_postdata( $post ); //end sbou $location_id = $this->main->get_master_location_id($event); $location = ($location_id ? $this->main->get_location_data($location_id) : array()); </code></pre> <p>聽</p> <p>line 40 to 45</p> <pre class="language-php"><code> $event_color = $this->get_event_color_dot($event); //sbou //$excerpt = trim($event->data->post->post_excerpt) ? $event->data->post->post_excerpt : ''; $excerpt = trim(get_the_excerpt()) ? get_the_excerpt() : ''; //end sbou $event_start_date = !empty($event->date['start']['date']) ? $event->date['start']['date'] : '';</code></pre> <p>end of the file add the wp_resest_postdata before the end of the foreach loop</p> <pre class="language-php"><code> </div> <?php //sbou wp_reset_postdata(); //end sbou } ?> </div> <?php endforeach; ?> </div></code></pre> <h2>聽5) fix routing preview with Elementor</h2> <p>When you use Elementor and Modern event Calendar, you can add this following code to your template file function .php</p> <p>Be carefull to the slug use , in this exemple it's <strong>concert</strong> but you need to use your own slug</p> <pre class="language-php"><code>if ( ! function_exists( 'falang_elementor_preview' ) ) { function falang_elementor_preview($url, $document) { $url = str_replace('%mec-events-slug%','concert',$url); return $url; } } add_filter('elementor/document/urls/preview', 'falang_elementor_preview', 10, 2 );</code></pre> <p>聽</p> </div> <p> <a href="/en/tagged-article-list/moden-event-calendar.html" class="" property="keywords" vocab="https://schema.org/">Moden Event Calendar</a> </p> </article> </div> <aside id="tm-sidebar" class="tm-sidebar uk-width-1-4@m"> <div class="uk-grid uk-child-width-1-1" uk-grid> <div> <div class="uk-panel _menu" id="module-99"> <h3> General Info </h3> <ul class="uk-nav uk-nav-default"> <li class="item-472"><a href="/en/wordpress/falang-for-wordpress/presentation.html"> Presentation</a></li> <li class="item-473"><a href="/en/wordpress/falang-for-wordpress/telechargement-achat.html"> Download - Buy</a></li> <li class="item-474 uk-active"><a href="/en/wordpress/falang-for-wordpress/documentation.html"> Documentation</a></li> <li class="item-475"><a href="/en/wordpress/falang-for-wordpress/changelog.html"> Changelog</a></li></ul> </div> </div> <div> <div class="uk-panel tm-child-list" id="module-121"> <h3> Tags </h3> <div class="tagspopular tagscloud" uk-margin> <span class="tag"> <a class="tag-name" style="font-size:2em" href="/en/tagged-article-list/woocommerce.html"> WooCommerce </a> </span> <span class="tag"> <a class="tag-name" style="font-size:2em" href="/en/tagged-article-list/pro.html"> Pro </a> </span> <span class="tag"> <a class="tag-name" style="font-size:1.25em" href="/en/tagged-article-list/divi.html"> Divi </a> </span> <span class="tag"> <a class="tag-name" style="font-size:1.25em" href="/en/tagged-article-list/seo.html"> SEO </a> </span> <span class="tag"> <a class="tag-name" style="font-size:1em" href="/en/tagged-article-list/astra.html"> Astra </a> </span> <span class="tag"> <a class="tag-name" style="font-size:1em" href="/en/tagged-article-list/moden-event-calendar.html"> Moden Event Calendar </a> </span> <span class="tag"> <a class="tag-name" style="font-size:1em" href="/en/tagged-article-list/form.html"> Form </a> </span> <span class="tag"> <a class="tag-name" style="font-size:1em" href="/en/tagged-article-list/eventin.html"> Eventin </a> </span> </div> </div> </div></div> </aside> </div> </div> </main> <footer> <!-- Builder #footer --> <div class="uk-section-primary uk-section uk-section-xsmall"> <div class="uk-container"> <div class="uk-grid tm-grid-expand uk-grid-margin" uk-grid> <div class="uk-width-1-2@m"> <div class="uk-panel uk-margin">漏 2024 All Rights Reserved Politique de confidentialit茅</div> </div> <div class="uk-width-1-2@m"> <div class="uk-panel uk-margin uk-text-right">R茅alisation - www.faboba.com</div> </div></div> </div> </div> </footer> </div> </body> </html>