Tagged: multilingual, polylang
-
AuthorPosts
-
October 18, 2022 at 9:41 am #1369191
Hi!
We use Enfold theme version 5.1.1, Polylang version 3.2.8 and The events Calendar 6.0.1.1.
We are not able to translate posts, portfolio-elements or events. Multilingual functionality (language selection) is not available in these post types. Is Enfold 5 not compatible with Polylang?Which multilingual plugin do you recommend to Enfold 5? We got bad experience with WPML, and will prefer another plugin. Polylang worked fine before, but not anymore?
October 20, 2022 at 2:55 am #1369508Hey mb,
Thank you for the inquiry.
The plugin should work fine with the theme, we talked to another Polylang user just recently and it seems to be working on his end. Can we access the dashboard? The login details above only works in the .htaccess authentication. Please provide the WP and FTP details in the private field.
Best regards,
IsmaelOctober 20, 2022 at 8:51 am #1369542This reply has been marked as private.October 28, 2022 at 10:41 am #1370532Hi,
Sorry for the late response. We checked the site but we can’t figure out why the posts are not translatable. Translation works fine on pages. Have you tried deactivating the other plugins?
Best regards,
IsmaelOctober 28, 2022 at 11:01 am #1370541This reply has been marked as private.November 3, 2022 at 12:03 pm #1371211Hi mb,
We are sorry for the late reply!
Issue seems to be related to your customization on your child theme’s functions.php file. I switched to parent theme and posts have showed up. I believe following code is causing the issue
add_filter('pll_get_taxonomies', function ($taxonomies, $is_settings) { unset($taxonomies['category']); unset($taxonomies['post_tag']); unset($taxonomies['portfolio_entries']); return $taxonomies; }, 10, 2); add_filter('pll_get_post_types', function ($post_types, $is_settings) { unset($post_types['portfolio']); unset($post_types['post']); return $post_types; }, 10, 2);
but could not confirm since functions.php file is not editable in theme editor.
If translation options do not show up on your live installation, please edit your post, click “Screen options” on the top right corner and make sure “language” options is checked – https://imgur.com/a/VmaxP7y
I left parent theme active. Please review your website :)
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.