Background of the issue:
I am working on a site under development and trying to resolve an issue with the string 'transactional' not working properly. I have raised a ticket regarding this issue, but it has not been fixed permanently.
Symptoms:
The string 'transactional' is not working properly.
Questions:
How can I resolve the issue with the string 'transactional' not working properly?
Why has the issue with the string 'transactional' not been fixed permanently despite raising a ticket?
Yes, I have already followed the mentioned documentation, but the translation is not working in some languages.
Please check these screenshots. hidden link hidden link
Please fixed this issue ASAP, as this is my live website
I have reviewed the entire conversation and understood the issue. To further investigate, I installed the Product Filter by WBW plugin in my development environment and added a filter to the shop page, keeping all settings at their default. Upon translating the shop page and checking the translated shop page, I found that the "In Stock" and "Out of Stock" texts appear correctly translated on the frontend, even without translating the text in the String Translation. The texts consistently appear correctly translated, even after multiple filtering actions. Please see the attached screenshot.
Since the text appears translated automatically, it indicates that the text has translation support and the translations are included in the plugin's language files. This is why they appear translated without requiring String Translation.
If the texts aren't showing as translated, it might be due to language files not being processed correctly. Please follow these steps to resolve the issue:
1. Please go to WPML > Theme and Plugins localization.
2. Ensure the option 'Automatically load the theme's .mo file using 'load_textdomain'' is checked. In the textbox below this option, add the text domain for Product Filter by WBW. The text domain is woo-product-filter. Save the changes.
3. Now, navigate to WPML > Support > Troubleshooting.
2. Scroll down to find the button labeled 'Show custom MO Files Pre-generation dialog box'. Click on this button.
4. After the page refreshes, a popup will appear. Click on the 'Generate .mo files' button within the popup and wait for the generation process to complete.
5. Once done, clear the caches from your site and browser and then check again.
This should help in processing the language files correctly. Please give it a try and let me know how it goes. I will be happy to help if you need further assistance in this matter.
Since the plugin is not listed in WPML's compatible plugin list, we need to determine if the issue is due to compatibility, is specific to your site, or is a more widespread problem. Please try to replicate the issue in our sandbox below.
- hidden link
The WPML plugin and its addons are pre-installed on the sandbox. Please complete any remaining setup steps. Then, install the Free and PRO version of WBW Product Filter plugin, set a filter on the shop page, and try to replicate the issue as it occurs on the main site.
If you encounter the same issue on the sandbox site, let me know. I will review it and advise you on the next steps.
The primary goal of using the sandbox site is to isolate the issue in a minimal environment, eliminating any server or external factors that might be influencing the behavior on the main site.
Please let me know the update. I will be happy to help if you need further assistance in this matter.
Best regards,
Prosenjit
The topic ‘[Closed] string translation issue’ is closed to new replies.