Go to “WPML” -> “Theme and plugins localization”.
Under “Select how to localize the theme” choose the first option, “Translate by WPML.” and Save settings.
Once you do that, the “Strings in the theme” section will appear under those settings. Scroll down a bit and click “Scan the theme for strings” button.
Once the scan is finished, scroll back to top of “Strings in the theme” section and under “pi_framework” domain choose “View strings that need translation”.
Once the new page opens, you will see the “Search results for” and “Nothing Found.”, “Sorry, but posts were not found.” strings.
Click on “translations” next to those strings, translate them and choose “Translation is complete”.