Problem:
The client wants to translate the text from the search and 404 pages.
Solution:
1. Please go to WPML >> Theme and plugins localization page, select the “Monstroid2” theme, and press the “Scan selected themes for strings” button.
2. Please go to WPML >> String Translation page and search for your required text and add the translation.
3. If still an issue persists, please try the below procedures:
3.1. Go to the WPML >> String Translation page and in the Auto register strings for translation section, enable the ‘Look for strings while pages are rendered’ option.
3.2. Re-visit the page on the front end where the string appears.
3.3. Re-visit the WPML >> String Translation page and search for that string.
3.4. Translate the string.
3.5. After translating the string, uncheck the auto-registration option.
Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#scanning-for-hard-coded-strings