This thread is resolved. Here is a description of the problem and solution.
Problem:
Client is using a block theme with the Product Results Count block on the product archive page. The string has been translated in String Translation, but the Norwegian page still displays the English string.
Solution:
If you're experiencing a similar issue with string translations not appearing correctly on your site, we recommend you follow these steps:
1. Ensure you have a backup of your site.
2. Update WPML and String Translation to the latest versions. As of the client's issue, these were 4.6.10 and 3.2.11 respectively.
3. Delete the problematic string, then rescan it from WPML > Theme and Plugin Localization and re-translate it via WPML String Translation.
4. On the localization page, add the text domain to "Localization options > Automatically load the theme's .mo file using 'load_textdomain'". You can find the text domain in the "textdomain" column under String Translation.
5. Go to WPML > Support > Troubleshooting and click on the "Show custom MO Files Pre-generation dialog box" option to export .mo files.
6. Re-save the languages by navigating to WPML > Languages > Edit Languages.
7. Verify if the DB charset is configured to utf8mb4 in your wp-config.php file.
If these steps do not resolve your issue, it might be because the solution is outdated or not applicable to your case. We highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us.
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 contains 1 reply, has 2 voices.
Last updated by 11 months, 3 weeks ago.
Assisted by: Ilyes.