Tagged: blog masonry, translation
-
AuthorPosts
-
September 25, 2024 at 4:19 pm #1467811
Hey
I have problems with the blog masonry, which should display the same posts on a DE and FR page. Some of the posts are translated from de default language DE into FR, some are only available in German or have been entered in French in the default language DE. WPML is set so that the posts are ‘translatable’, but if a translation is missing, the post is displayed in the default language – this is also the case on the FR page.
This all works perfectly on both the DE and FR pages if I have selected ‘Show all posts’ in the Masonry settings. However, as soon as I want to display only 4, 8, 18, 20 etc. posts – the “Load more button” appears – then posts are omitted on the FR page.It would be kind if you could help me to solve this problem.
Thank you very much!
Megan
October 5, 2024 at 4:19 pm #1468482Hey meganp46,
Thank you for your patience, as I understand after you mark a post as ‘translatable’, you must also run the translation manually so the plugin will create the new translation post. When you look at the posts in the backend do both languages show for each post? Also in the masonry are you showing all posts or only certain categories, if only some the category may have a different name in the second language.Best regards,
MikeOctober 7, 2024 at 4:08 pm #1468582Hi Mike
Posts are marked as translatable, i. e. translations are used if the are available. If translations are not available the untranslated text is published. So I may translate a text, but it is not necessary. Further explanations and images you will find in the private content section.
Thanks a lot!
Megan- This reply was modified 2 months, 1 week ago by meganp46.
October 8, 2024 at 5:54 pm #1468662Hi,
Thanks for the screenshot, I believe that you need to click the “plus” sign to add a translation for it to show, if you don’t it will not show. Please try adding this and see if this helps.Best regards,
MikeNovember 27, 2024 at 1:50 pm #1472370Hi, Mike
I apologise for the very late receipt of my reply.
As for your answer: All translations into French are displayed correctly when I display all messages in the blog masonry element. However, if I only want to display a certain number of messages, some messages are missing in the French version of the website – regardless of whether I have translated them (via the plus sign) or not.
Now I assume that the query is not executed correctly because either the query by the blog masonry element is faulty or there is an error in the WPML database table.
I have checked this and am leaning towards an error in the database table, i.e. I will contact WPML and inform you if the error does affect ENFOLD. Anyway, you could close this thread.Thanks for your help!
Sorry for my delay…Kind regards
Megan -
AuthorPosts
- The topic ‘Blog masonry in two language versions does not show all posts in sec. language’ is closed to new replies.