Home › Forums › WoodMart support forum › Single product layout stuck in translation WPML
Single product layout stuck in translation WPML
- This topic has 19 replies, 3 voices, and was last updated 10 months, 3 weeks ago by bathorimatyas.
-
AuthorPosts
-
November 13, 2023 at 7:50 pm #512073
raulisParticipantHi,
As mentioned, single product layout is stuck in translation. It never updates. I also see a few errors that might be related.
Attachments:
You must be logged in to view attached files.November 14, 2023 at 10:51 am #512173
Hung PhamKeymasterHi raulis,
Thanks for reaching to us.
Please add below Custom Code to functions.php file in Child theme.
add_action('init', function () { if ( ! empty( $_SERVER['REQUEST_URI'] ) && false !== strpos( $_SERVER['REQUEST_URI'], trailingslashit( rest_get_url_prefix() ) ) && function_exists( 'wc_load_cart' ) && ! function_exists( 'wc_print_notices' ) ) { wc_load_cart(); } }, 1000);
Regards,
November 14, 2023 at 11:58 am #512209
raulisParticipantHi, nothing has changed. Have tryed to cancel translation, edit main language Layout and than start a new translation to EN.
Attachments:
You must be logged in to view attached files.November 14, 2023 at 2:01 pm #512261
Hung PhamKeymasterHi raulis,
Please send temporary wp-admin info (wp-admin URL, username, password) to Private Content
I will check this problem for you.
Regards,
November 14, 2023 at 4:09 pm #512286
raulisParticipantHere you go.
November 14, 2023 at 6:22 pm #512350
Hung PhamKeymasterHi raulis,
I see you did not add above Custom code to Child theme.
I’ve fixed your issue. Please check your site again.
Regards,
November 14, 2023 at 6:28 pm #512351
raulisParticipantHi,
I have added the code throught the php snippet plugin.
Have also check the website and nothing is changed. Layouts are still not translatable with WPML. Just sppining forever and nothing happening.
Attachments:
You must be logged in to view attached files.November 14, 2023 at 8:38 pm #512378
raulisParticipantHave identical problem on other website also.
November 15, 2023 at 7:46 am #512451
Hung PhamKeymasterHi raulis,
Please clear cache from WP Rocket plugin and check again.
Regards,
November 15, 2023 at 12:22 pm #512531
raulisParticipantNothing is working. You still can’t translate layouts in WPML.
You clearly don’t understand the problem here. Please read it over again and send me a fix as soon as possible. This bug happens all over the websites I am using woodmart on.
Here is a short overview:
1) wp-rocket cash does not work in the backend of the WordPress
2) The problem is that Layouts can’t be translated because woodmart have certain deprecated woocommerce functions. So always have stuck translations (spinning icon or cog icon). You can check translation status in WPML -> Translation managment -> Jobs section.Please help me fix this.
November 15, 2023 at 12:26 pm #512534
raulisParticipantalso if you turn off layout in one language it does not turn off in all of them. Big bug.
November 16, 2023 at 6:29 am #512720
Hung PhamKeymasterHi raulis,
I passed this topic to our developer, I will update once I receive the replies.
Regards,
November 16, 2023 at 10:14 am #512759
Hung PhamKeymasterHi raulis,
Thanks for your patience.
Please check again https://monosnap.com/file/9MxVefE2EtZFhmax5kU3gsGjCra2JQ
Regards,
November 16, 2023 at 4:36 pm #512917
raulisParticipantNot sure how you did it, but the language on the main language of the Layout changed to russian for the product. I mean if you go to take a look at the layout in LT language, the product itself shows data from the RU version.
Other than that it seams to work ok now. How can I fix this issue on my other websites?
November 17, 2023 at 1:48 pm #513184
Hung PhamKeymasterHi raulis,
1. Please use this Custom PHP code https://xtemos.com/forums/topic/single-product-layout-stuck-in-translation-wpml/#post-512173
2. I also added this code to Child theme https://monosnap.com/file/ZIK0nf2PvObrHEgxAimuAkwUNq4Uyz
Regards,
November 18, 2023 at 1:03 pm #513430
raulisParticipantHow can I translate product reviews?
November 19, 2023 at 9:18 am #513547
Hung PhamKeymasterJanuary 24, 2024 at 6:41 pm #533212
bathorimatyasParticipantI have the same problem here mentioned: https://xtemos.com/forums/topic/cant-edit-the-layout-custom-post-type-on-foreign-language/
January 25, 2024 at 10:05 am #533337
Hung PhamKeymasterHi bathorimatyas,
My colleague will check and response to you, I kindly recommend you should not reply to other topics, it’s hard to follow.
Regards,
January 25, 2024 at 10:57 am #533365
bathorimatyasParticipantSorry for that, i just wanted to resolve the issue, it takes maybe 1,5 day, but now everything fine. Thank you.
-
AuthorPosts
The topic ‘Single product layout stuck in translation WPML’ is closed to new replies.
- You must be logged in to create new topics. Login / Register