Reported for: WPML Multilingual CMS

Resolved in: WPML Multilingual CMS 3.6.0


In some cases, depending on the theme size and strings included in it, there might be an issue when activating the Translate the theme and plugins using WPML’s String Translation option, on the WPML -> Theme and plugins localization page.

This happens because activating that option triggers a string-processing scan at the same time. In case the theme has a lot of strings, it can lead to an error with reaching the maximum execution time limit, or memory limit being exhausted.


It is enough to define the constant:


in wp-config.php. This will turn off the theme auto-scanning feature.

This will allow you to save the option. Afterward, if you want, you can manually re-scan the theme for strings.