Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with the translation of home page filtering not appearing as expected on their website.
Solution:
We recommend the following steps to resolve the issue:
1. Ensure all WPML plugins, including WPML Multilingual CMS and String Translation, are updated to the latest versions. You can update these in the Plugins -> Add new -> Commercial tab.
2. Increase the WordPress memory limit to at least 256MB. This can be done by adding the following line to your

wp-config.php

file:

define('WP_MEMORY_LIMIT', '256M');

Place this line just above the '/* That's all, stop editing! Happy publishing. */' line.
3. Depending on how your filters are constructed:
- If based on categories, tags, or custom taxonomies: Translate these under WPML → Taxonomy Translation.
- If based on custom fields: Set the translation preferences for these fields under WPML → Settings in the Custom Field Translation section.
- If the filters involve strings from your theme or plugins: Use WPML → String Translation, and you might need to scan your theme or plugins for strings first under WPML → Theme and plugins localization.

If these steps do not resolve the issue or if the solution seems outdated or not applicable to your case, 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 further assistance is needed, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 7 replies, has 0 voices.

Last updated by Carlos Rojas 2 days, 13 hours ago.

Assisted by: Carlos Rojas.

Author Posts
October 30, 2025 at 4:26 am #17531068

ehaitech-marketing-consultant-

Background of the issue:
I am trying to solve a problem related to the translation of the home page filtering on my site.

Symptoms:
The translation of the home page filtering is not appearing as expected.

Questions:
Where is the translation of home page filtering?

October 30, 2025 at 12:30 pm #17532633

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

I kindly ask you to follow these steps:
1.- Create a full site backup and update all WPML plugins to the latest version in Plugins -> Add new -> Commercial tab.

Also, update any other outdated plugins or themes

2.- Increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

3.- Once the WordPress memory limit is increased and the WPML plugins are up-to-date, double-check if the issue has disappeared.

Please let me know the results of the steps described above.
Regards,
Carlos

October 31, 2025 at 1:01 am #17534633

ehaitech-marketing-consultant-

Yes, I have backed up. I can give you the login to the website. The translation location cannot be found

October 31, 2025 at 10:16 am #17535409

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

Please share the access credentials to the site in your next message, which I have set private.

Confirm you have created a full site backup that you can restore if necessary.

November 3, 2025 at 9:56 am #17540123

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Thank you very much for sharing the information requested.

1.- Please create a full site backup and update all outdated plugins and themes that appear in this link: hidden link
The outdated functionalities can cause conflicts in the code.

2.- Also, I need you to describe the steps to edit the productselect shortcode, or share a URL where it can be edited.

Looking forward to your message.

November 4, 2025 at 1:47 am #17543636

ehaitech-marketing-consultant-

hidden link

thanks

20251104-094639.jpg
November 4, 2025 at 12:08 pm #17545329

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you for sharing this information

The reason why your product selector is not appearing correctly in the secondary language is because the plugin does not currently register the option names for translation with WPML. Since the product options are stored in a custom database table, WPML cannot detect or translate them automatically.

To fix this, please follow these steps:

Steps to Make the Product Selector Multilingual with WPML
1. Register Option Names for Translation
When saving an option (in the admin page), add the following action to register the option_name string with WPML:

do_action( 'wpml_register_single_string', 'Product Selector', 'Option Name - ' . $data['option_name'], $data['option_name'] );

This will allow you to translate each option label from WPML → String Translation.

2. Display Translated Strings on the Front-End
In your shortcode that generates the dropdown ([productselect]), use the following code to display the translated option names:

$translated_name = apply_filters( 'wpml_translate_single_string', $option->option_name, 'Product Selector', 'Option Name - ' . $option->option_name );

Replace the original $option->option_name with $translated_name inside your <option> HTML output.

3. Clear Cache and Re-Test
Once the changes are made:
- Visit WPML → String Translation and translate the new strings under the "Product Selector" domain.
- Clear any caching plugins or browser cache.
- Visit the secondary language version of the page with the [productselect] shortcode.

This should ensure that your dropdown options are properly translated and appear correctly across all languages.

November 5, 2025 at 9:36 am #17549022

ehaitech-marketing-consultant-

thanks

November 5, 2025 at 10:07 am #17549130

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

You are welcome.

Please don't hesitate to contact us if you need our help in the future with WPML. We are here to help!

Have an excellent day.