This thread is resolved. Here is a description of the problem and solution.
Problem: The client experienced multiple issues after translating their website from English to Greek using WPML. These included lost styling on shop pages, untranslated static text, lost product category hierarchy, missing translations under menu buttons, and a non-rendering map on the contact page. Solution: We identified that the issues were related to the 'Custom Product Type' template used on the site. The solution involved deleting the translated version of this template to ensure that the default language layout was used instead. This approach resolved the styling issues on the shop pages. For untranslated static text and other layout-related issues, we recommended manually translating the content or deleting and re-translating the specific layouts. If using the same layout builder without specific translations, it's advisable to delete the translated layout, allowing the default language layout to be used.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I have automatically translated elipack.com from English to Greek using WPML and encountered several issues. I am providing admin access to a staging site for troubleshooting.
Symptoms:
The site has several issues post-translation: lost styling on shop pages, untranslated static text in menus, lost product category hierarchy, missing translation under a menu button, and a non-rendering map on the contact page.
Questions:
How can I restore the styling on the shop pages after translation?
How do I ensure static text like 'ABOUT US' is translated correctly?
What steps should I take to restore the product category hierarchy?
Why is the Greek translation not appearing under the E-SHOP ELIPACK button?
How can I fix the map rendering issue on the contact page?
I still need some help, your solution is changing the product template I had on the site. Let me check it further, now that u have pinpointed the issue, and I will get back soon. thanx
I've checked further. I did not change anything in the post types when I set up wpml. The post type that creates the issue on the greek site, was imported as part of the original demo when the site was originally built.
Your solution to remove it, removes the template on the english site and we dont wish that. Also it does not solve the root issue, the greek page is still broken, if u move down u will see random images as bg's and the greek version still has a big white space under the products.
Also, what do you mean it works when removed? I see on the test site that the greek version now has different text styling, however when i try to replicate what you proposed, on a fresh test ite, that is to remove the post type, then I still see the text broken.
I see also some css in the post type, did you put that?
.product-type-advanced .porto-tb-wishlist a { width: 38px; height: 38px; line-height: 35px; }
.product-type-advanced .porto-tb-addcart i { font-size: 22px; }
.product-type-advanced .cs-bottom { height: 40px; }
.product-type-advanced .tb-hover-content { background: none; }
.product-type-advanced .star-rating { width: 70px; }
.product-type-advanced .price del { font-weight: 400; }
that was not my solution, nor did I suggest this as a solution, maybe you misunderstood. It was step as part of my debugging to pinpoint from where the issue is coming, in this concrete example that I am checking, which is product layout.
My suggestion was for you to check how / where was mentioned customization added, as I can not find, since not sure how was website built, I assumed maybe you / who ever built it would be aware from where is it coming from. Then when I have these information, I would suggest how to fix it on translated page.
Since we are not sure, from where this is coming from, best I can do is take a copy and escalate further for check, or if you wish you can try same import same layout and lets see if same issue happen on next test site, this would speed things up, since not all plugins / customization need to be checked, as it is simple new test website with only product layout imported.
Yes probably I jumped to conclude that was yr solution, sorry!
Please escalate it, I have created a fresh test site, same logins, same url.
All other issues in the ticket have been addressed in this new test installation. only the issue with the styling on the greek shop pages remains.
I found though another issue, that I believe is related.
the english blog is displayed correctly: hidden link
the greek block has some styling issues on the thumbnail again hidden link
which makes thing is related, in both cases the thumbnails have styling problem.
thanks 🙂
New threads created by Dražen and linked to this one are listed below:
I have checked again and tried a different approach to translate your "Custom Product Type" template and it seems this part is correct now. Can you please check and confirm this? Then I will share the steps I have done.
thanks for getting back, as said before we limit 1 issue per ticket so for each issue you/we will need a new ticket. I can open them
As for your issue with product that I fixed lets conclude this, and I think other issue are also related, it seems to be an issue with how you translated those layout/template builders.
I see from Porto settings it is not needed to translate them at all, so what you can do if you are using the same layout builder, and not adding any specific translation for this layout, you can either:
Please make a small video for this process as well, I could not replicate the solution, as I did in the blog on the other chat. When I delete and trash the layout 64616, the problem remains. thanks
The video points in deleting 64619 indeed. I am doing that. I am deleting the 64619 greek translation, then trash it, but the issue remains.
You have a fresh clone from the production site, all issues solved and incorporated except the one with the greek shop pages we currently troubleshoot.