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.
Tagged: Compatibility
This topic contains 8 replies, has 2 voices.
Last updated by Osama Mersal 1 year, 6 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
October 12, 2023 at 10:19 am #14564725 | |
darioD-17 |
I am trying to: Link to a page where the issue can be seen: I expected to see: the same layout for original page and translated page. Can you help me? |
October 12, 2023 at 10:53 am #14565349 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. 1) Would you please let me know how this layout is created? If you use a page builder's custom template, please check if it's translated. 2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/) You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line: /* Memory Limit */ define('WP_MEMORY_LIMIT', '256M'); define( 'WP_MAX_MEMORY_LIMIT', '256M'); Best regards, |
October 12, 2023 at 11:50 am #14565719 | |
darioD-17 |
I've increased the maximum memory as per your instructions, setting it to 256MB. The brand content is automatically displayed on the shop page, which is correctly translated, and I haven't used any builders for its construction; it's the default WooCommerce page. How can I resolve this issue? It seems like it's not recognizing the structure of the original page and is generating an individual page. |
October 12, 2023 at 11:54 am #14565757 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your next answer will be private, which means only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical. ✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site. Best regards, |
October 16, 2023 at 5:00 pm #14587151 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for the access details. I tried to replicate the issue on this sandbox site. (hidden link) However, the translated brand page works correctly. Kindly check this page. (hidden link) Would you please upload the latest version of your theme on this sandbox site to replicate the issue? If the issue is replicable, please let me know to consult our 2nd tier support team. Best regards, |
October 17, 2023 at 8:25 am #14591175 | |
darioD-17 |
I installed the theme and the problem occurs again. Version good: hidden link |
October 17, 2023 at 9:30 am #14592117 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for your update. I've consulted our 2nd tier support team regarding the issue and will update you as soon as I get their reply. Thanks for your patience and cooperation Best regards, |
October 17, 2023 at 12:37 pm #14594475 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for your patience. Our 2nd tier support team has found a workaround by adding the following code to your theme's function.php. add_action ('init', 'test_remove_hooks_template_include', 100, 2); function test_remove_hooks_template_include() { global $wp_filter; foreach ($wp_filter["template_include"]->callbacks[100] as $key => $value) { if(str_contains($key, 'template_loader')){ remove_filter( 'template_include', $key, 100 ); } } } I applied this workaround on the sandbox site. Please check if it works correctly. (hidden link) Best regards, |
October 17, 2023 at 12:52 pm #14594619 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, It would be great if you could contact the (Perfect Brands WooCommerce) plugin's authors and urge them to join our Go Global Program. You can find details about it here. (https://wpml.org/documentation/theme-compatibility/go-global-program/) Best regards, |
October 17, 2023 at 3:30 pm #14596095 | |
darioD-17 |
Thank you so much finally it works! I'll contact the Perfect Brands Woocommerce for join your go global program. Thank you! |