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.

This topic contains 7 replies, has 2 voices.

Last updated by Christian 1 year, 8 months ago.

Assisted by: Mohamed Sayed.

Author Posts
February 16, 2023 at 10:54 am #13047775

Christian

Tell us what you are trying to do?
The string "/product-category/top-results/" is not found.

What is the link to your site?
Currently under construction and hidden from the public.
Please see screenshot in attachment.

Screenshot 2023-02-16 at 11.50.12.png
February 16, 2023 at 1:23 pm #13049363

Mohamed Sayed

Hi Christian,
Thanks for contacting WPML support, I will be glad to help you.

1) Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

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

2) Please try the following steps:

- Go to WPML-> Theme and plugins localization, and scan the plugin where you add the string
- Go to WPML-> String Translation
- Scroll down and click on the "Translate texts in admin screens »" link
- Search for the string and select it
- Click on the "Add to String Translation" button
- Click on "the « Return to String Translation" link
- Translate the strings

Let me know please if that helps.

Regards,
Mohamed

February 19, 2023 at 6:51 am #13063599

Christian

I scanned the theme (Aventa and Aventa Core) and WooCommerce. WPML added the results to the string translation table. I did the check but I didn't find it.

February 19, 2023 at 2:06 pm #13064565

Mohamed Sayed

Hi Christian,

1) I would need to request temporary access (WP-Admin) so I can investigate this issue further.
– preferably to a test site where the problem has been replicated if possible –

Your next answer will be private, which means only you and I have access to it.

❌ Please backup your database and website before providing us with access details ❌

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

2) Please send me a link to the page where the button is added.

Thanks for your cooperation

February 19, 2023 at 9:22 pm #13065353

Mohamed Sayed

Hi,
Thanks for providing the access details.

Please try the following steps:

1. Go to WPML > Settings > Custom Fields Translation
2. Search for "button-url"
3. Click the lock icon
4. Set the field to "Translate" and save the changes
5. Edit the slide in the default language and make a small change then save it
6. Update the translations

Please check here for more details: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

As you see in the attached screenshots, the link can be found in the advanced translation editor at the moment.

Regards,
Mohamed

Advanced Translation Editor - WPML - Google Chrome.png
Screenshot_892.jpg
Custom-field-2.png
Custom-field-1.png
February 20, 2023 at 10:00 am #13068063

Christian

The next issue is that the Dutch translated button url redirects to the English version (cache has been cleared): hidden link

February 20, 2023 at 2:59 pm #13071403

Mohamed Sayed

Hi Christian,

This is because you've used a wrong URL for the Dutch button URL, it was set as "/product-category/topresultaten/" while the correct URL is "/product-categorie/topresultaten/?lang=nl".

I fixed the URL translation and now the Dutch button points to the correct language.

Regards,
Mohamed

Screenshot_899.jpg