This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing inconsistent string translations in your theme, where some strings are translated while others are not, and enabling 'Look for strings while pages are rendered' only temporarily solves the issue.
Solution:
We recommend checking and updating your theme's localization setup:
1. Ensure your theme's
style.css
includes a proper text domain, for example:
Text Domain: blank
2. Add the
load_theme_textdomain
function to your theme's
functions.php
file, ideally around line 413:
load_theme_textdomain('blank', get_template_directory() . '/languages');
3. Create a 'languages' folder in your theme directory.
4. Update the text domain in your theme's header code to match the one you've set, like so:
<?php _e('Zvani', 'blank') ?>:
After making these changes, scan and translate your theme again to check if the issue is resolved.
Please note that this solution might be outdated or not applicable to your specific case. If the problem persists, 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 needed, 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.
This topic is split from https://wpml.org/forums/topic/wpml-breaks-woocommerce-zoom-js/
This topic contains 0 replies, has 0 voices.
Last updated by 1 month ago.
Assisted by: Shekhar Bhandari.