Automatic scanning of strings translation in the theme and registration of them in Polylang plugin. Extension for Polylang plugin.
As of April 2026, Polylang Theme Strings is a WordPress polylang plugin with 6.0K+ active installations and a 4/5 rating from 37 reviews. It has been downloaded 103K+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2015. Last updated 7 years ago — may have compatibility concerns. Downloads are up 55% this week. Top alternative: Connect Polylang for Elementor.
This plugin gives additional features to the plugin Polylang. It automatically scans all templates files and scripts of the active WP theme (and all plugins) for available strings that can be translated. For example:
pll__('...');pll_e('...');and adds them to the Polylang registery, after what you can manage the translation of finded strings using the administration panel. It will make your life easier for the development of multilanguage’s projects, because you will not need to enter the needed strings to translate manually – the plugin will do all the work for you.
Don’t forget that in the example are described the PHP-function calls, that is why they have to be inside of PHP-tags.
You have to i…
A) It gives errors in the debug logs.
B) It fucks up the woocommerce default translations. Adding .po and .mo files in wp-content/languages/ etc wont help, because this plugin overrides this somehow. Deactivating this plugin brings forth the translations. Used loco translate to try to fix this, but without results. Deactivating this plugin is the key – It needs to be fixed.
what I needed to translate, I got it with this free Plugin.
I used Polylang Theme Strings in a WordPress 5.2.4 installation with two languages (EN & DE) and the Job Board Manager plugin.
As long as Polylang Theme Strings was activated, most German translations did not show up correctly in the frontend although a complete German language pack was present. Even in the WP backend parts of the interface was mixed (i.e. under the “Seiten” menu there was a “All Pages” submenu instead of “Alle Seiten”).
The plugin is changing the site language to English. And it somehow stopped registering new strings.
You are awesome! Thanks!
| WordPress | 4.0+ requiredTested up to 4.9.29 |
| PHP | false+ required |
…and 3 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.