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.
This topic is split from https://wpml.org/forums/topic/wpml-breaks-woocommerce-zoom-js/
Tagged: WCML
Related documentation:
This topic contains 0 replies, has 0 voices.
Last updated by aigarsM 1 week, 2 days ago.
Assisted by: Shekhar Bhandari.
Author | Posts |
---|---|
February 5, 2025 at 8:11 am #16669341 | |
aigarsM |
I understand. Thank you! Could you please check one more thing? For some reason, string translation does not seem to work consistently—some strings are translated, while others are not. Enabling "Look for strings while pages are rendered" appears to help, but as I understand, this is only a debugging tool and should not be enabled on a live site. I would normally create a separate ticket for this issue, but since this site has multiple WPML-related issues that I can't debug myself, I'm including it here along with the previous one. |
February 5, 2025 at 8:52 am #16669474 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Can you delete the string and re-translate it to see if it helps? Also, the previously shared login details is not working, so can you provide the login details in the next private reply. Look forward to your reply. Thanks |
February 6, 2025 at 8:17 am #16673847 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, I made the following changes to make things work properly. 1. Your theme style.css has textdomain set to blank, I set it to blank Text Domain: blank 2. Your theme doesn't have load_theme_textdomain function enabled, so I added it in your theme functions.php line no.413 load_theme_textdomain('blank', get_template_directory() . '/languages'); 3. Then I created a languages folder in your theme directory 4. Then I made the changes to the header code and replaced the domain from OC to blank. <?php _e('Zvani', 'blank') ?>: This above steps are part of creating a standard WordPress themes. Once this changes are done, I scanned the theme and translated it and it's working for me, please check and confirm. Thanks |
February 6, 2025 at 10:59 am #16674890 | |
aigarsM |
I understand. I will keep this information in mind moving forward. What threw me off was that this system is not implemented in my other projects, yet WPML works just fine in those. |