Home › Forums › WoodMart support forum › Error assigning layout to ID by language.
Error assigning layout to ID by language.
- This topic has 25 replies, 3 voices, and was last updated 1 week, 1 day ago by Artem Temos.
-
AuthorPosts
-
December 19, 2024 at 2:25 pm #623908
goalamarketingParticipantHi, I had different layouts created for my products, some in Spanish, others in English and others in Italian. To each language I had put a tag with the ID of that tag in your language, but after the last update I see that it does not respect it, and directly shows the layout in all the IDs of that tag regardless of whether it is in English, Spanish or Italian.
December 20, 2024 at 10:38 am #624139
Hung PhamKeymasterHi goalamarketing,
Thanks for reaching to us.
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Also, please record a short video so we can reproduce the issue.
Regards,
December 20, 2024 at 12:34 pm #624180
goalamarketingParticipantWith a video I do not know if it will be very clear, I try to explain it to see if you can understand it, if not we will look for another alternative:
I have created layout for the products, and as I have installed WPML I have created three languages. So until now I put a layout for a language and put it to apply that Layout to a label, WPML generates different IDs in the label according to the language, and so far applied each template to your language, the problem is that after the last update this does not take into account and applies the template for the label, regardless of the ID of the label, so the product in different languages is displayed with the label in Spanish.I attach screenshots so you can see how I use the layout by tag.
I can’t reproduce the problem for you because I have restored the backup of the Woodmart file folder and plugins.
Attachments:
You must be logged in to view attached files.December 20, 2024 at 1:31 pm #624208
goalamarketingParticipantSo you can see it in this screenshot. This template is in Spanish, and those fields that I put in the boxes are in Spanish, I have another template the same, but with those texts in English with the label ID in English and another in Italian, if you now change the language you will see that those boxes that I put are changed because the template changes, but when I update the theme those boxes do not change, they are always in Spanish, it is like that the assignment by ID has been erased.
https://vegaliatravel.com/servicio/tour-de-2-dias-a-las-vegas-en-espanol/
Attachments:
You must be logged in to view attached files.December 23, 2024 at 8:40 am #624589
Hung PhamKeymasterHi goalamarketing,
Thanks for your patience.
You can create a dev site and update theme and core plugins to the latest version there. Devsite – also called a Staging platform where you can test issues, enable/disable features/plugins thus such changes will affect the main site. The below article will help you to create it:
https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Then, to assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Best Regards,
December 26, 2024 at 12:52 pm #625455
goalamarketingParticipantHi I have duplicated my website on a test domain so you can check. The Woodmart is not updated, there you can check in a product that when you change the language it changes the content and also changes the headers, because it detects each tag ID with its language and template, you can update Woodmart and the woodmart core plugin and check how it no longer performs the same.
December 27, 2024 at 10:07 am #625614
Hung PhamKeymasterHi goalamarketing,
Thanks for details.
I got errors related to translation while updating theme https://ibb.co/gDLRz0p
Would you mind if I deactivate extra plugins for testing? Please confirm me back.
Regards,
December 27, 2024 at 10:49 am #625625
goalamarketingParticipantYou can do all the tests you need, that website is a test website. Elementor translations have never been translated since I don’t have the official elementor pro license, but that has never been a problem.
December 29, 2024 at 6:18 pm #626001
Hung PhamKeymasterHi goalamarketing,
Thanks for your patience.
I’ve passed this topic to one of our developers, and I will let you know once get an answer in the Monday.
Best Regards,
January 13, 2025 at 10:47 am #629171
goalamarketingParticipantHi, I haven’t heard back on this yet, I don’t know if it is safe to update the theme.
January 14, 2025 at 8:23 am #629457
Hung PhamKeymasterHi goalamarketing,
Sorry for late update. Somehow I replied but it was not sent.
Our developer checked your site now and see that the woodmart layout is working correctly on this page
https://vegaliatravel.com/servicio/tour-de-1-dia-a-washington-d-c-en-espanol/
https://vegalia.goalaweb.com/servicio/mas-actividades-y-excursiones-en-las-vegas/Could you please check if this problem exists? If so, please send a link to the page where you see the problem.
Regards,
January 14, 2025 at 10:50 am #629507
goalamarketingParticipantLook, I try to explain the problem so you can understand it, I have upgraded to the latest version and the problem still exists. In Layout what I have done is to create a product page, but of course that product page contains headers with text so in Layout ES those headers are in Spanish and I had to create another Layout for EN and for IT with those headers in English and Italian. Before I could say, the tag “Group 1” which is a tag used for ES is applied to the ES Layout and then all the headers appear in Spanish, and the tag “Group 1” is used for the EN template and so all the headers are displayed in English, but now after the update it does not differentiate between the different tags, the same tag is applied. I attach screenshots.
https://vegalia.goalaweb.com/wp-content/uploads/2025/01/VEGALIA_WOODMART.pdf
January 15, 2025 at 12:14 pm #629874
Hung PhamKeymasterHi goalamarketing,
It’s most likely that your WPML is not configured correctly. In the settings for the Layout post type https://monosnap.com/file/EgQkj3w1QJmllUNBsEh45mVlODFsSY, it should be set to translated, so there is one template for all languages, but it is translated. In this case, it should work properly.
We would also recommend contacting WPML technical support so they can check this from their side.
Regards,
January 15, 2025 at 12:38 pm #629887
goalamarketingParticipantOk, ok, so in case I want to apply different display options I edit it as English page or Italian page with page editing without translation editor. All clear. Thanks
January 15, 2025 at 12:50 pm #629893
goalamarketingParticipantNow I have detected the following problem. I have deactivated the other layouts that referred to other languages and in the Spanish layout I have created a translation to English and Italian. But the condition of that layout is for a label, so the product is displayed in Spanish correctly but in English and French the layout is not applied. Do you know how I can do so that the layout is also applied?
January 17, 2025 at 11:07 am #630497
Hung PhamKeymasterHi goalamarketing,
Please record a short video so we can reproduce the issue.
Thank you for your patience.
Best Regards,
January 17, 2025 at 11:09 am #630498
goalamarketingParticipantFinally I am using the elementor templates to use the same function that your layout uses. Would you like me to send you the video in case you want to review it to fix it in your Layout?
January 20, 2025 at 10:10 am #631001
Hung PhamKeymasterHi goalamarketing,
Thank you for your patience.
Sorry but your reply is a bit unclear to me. Meanwhile, I tested your staging site and it worked perfectly now – with
Layout
settings set toTranslatable
Please see recorded video for better understanding https://go.screenpal.com/watch/cTVYi6nfQhOBest Regards,
January 20, 2025 at 10:14 am #631005
goalamarketingParticipantNo, this product is not applying the layout template, it is applying the default Woocommerce template, so there are no translatable elements in the Woocommerce template. Right now is that I am disabling the layout conditions and creating them from Elementor Templates, the example you can see in the screenshots that I passed you in the answers to this previous ticket, if you want to reproduce it on web let me know and I put the conditions in the Layout for the different templates.
January 21, 2025 at 2:43 pm #631526
Hung PhamKeymasterHi goalamarketing,
Thanks for your patience.
Sorry, but your question is a bit unclear to me. Please describe in more details, this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
January 22, 2025 at 8:27 pm #631972
goalamarketingParticipantLook, I have done the same thing on another website, and you can see that the template does not apply the same. You will see that in the English version of any helmet you will see the title, along with the logo, the short description with the gray background, and other elements….. As soon as I convert the product to English all that is lost and I see that no template is applied.
January 27, 2025 at 10:15 am #632901
Artem TemosKeymasterHello,
Sorry for the late reply. Please send us your admin access from this website so we can check what is wrong.
Kind Regards
January 27, 2025 at 11:10 am #632940
goalamarketingParticipantOk.
January 27, 2025 at 12:53 pm #633002
Artem TemosKeymasterWe just tested this page and see that the correct template is applied for both languages. Here is a video https://monosnap.com/file/4z36phXXIUR220sgBCLGcC6gDnRbFm
Could you please clarify how to reproduce the problem and send us some screenshots?Kind Regards
January 27, 2025 at 1:31 pm #633046
goalamarketingParticipantI think the problem was either the rooter cache or the web cache, because now I can see it correctly too.
January 27, 2025 at 3:02 pm #633097
Artem TemosKeymasterGreat, we are glad that you sorted it out. Feel free to contact us if you have any further questions.
-
AuthorPosts
The topic ‘Error assigning layout to ID by language.’ is closed to new replies.
- You must be logged in to create new topics. Login / Register