I am trying to:
Translate the placeholder text "Search" into Spanish in the header for both desktop and mobile versions. I saw this post from 2017 (https://wpml.org/forums/topic/how-do-i-translate-the-default-wordpress-search-form/), but WordPress has changed a lot and I attempted following the steps but with no luck. Also tried adding text in the header as well to see if that area in the header can be translated, maybe it's only navs and content-sections that can be translated or simply certain parts that are connected to the theme, nothing custom?
Can you go to WPML → Theme and plugins localization and scan the theme or plugin that contains this string, then go to WPML → String Translation and look again for this string, please? Once you translate it, everything should work fine on the front-end.
If this doesn't work, please follow these steps too:
go to WPML → String Translation;
scroll down the page and enable the Look for strings while pages are rendered option;
go to the page where the Search text is visible and refresh the page;
go back to WPML → String Translation;
disable the Look for strings while pages are rendered option;
look again for the Search text in WPML → String Translation area and translate it.
As I can see, the WP memory limit on your website is 40M. Can you increase it to 128M (256M recommended - https://wpml.org/home/minimum-requirements/), please?
You can have a look at this article to find out how to make this change: hidden link
Thanks,
Radu
The topic ‘[Closed] "Search" placeholder text isn't translating’ is closed to new replies.