Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 5 replies, has 3 voices.

Last updated by Prosenjit Barman 4 months, 2 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
July 12, 2024 at 10:28 am #15941916

valentinB-22

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?

July 13, 2024 at 1:25 am #15945214

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Do you maybe have an example about how exactly this string is registered inside the code?

Did you already try to register the string by using the following method?
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

It would also be very helpful if you could send us the WPML information for troubleshooting.
More information about this here:
https://wpml.org/de/faq/provide-debug-information-faster-support/

Best regards
Andreas

July 16, 2024 at 4:58 am #15957894

valentinB-22

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

July 16, 2024 at 8:23 am #15958907

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well.

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.

Best regards,
Prosenjit

Screenshot 2024-07-16 124835.png
July 16, 2024 at 10:44 am #15959873

valentinB-22

I have followed the above instructions, but the issue is still not resolved. Could you please check and fix it?

hidden link

July 18, 2024 at 3:18 am #15969286

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update.

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.