Polylang String Extractor
Polylang String Extractor is a plugin provided for extract translatable strings from WordPress functions to Polylang.
by Motivast · github.com/motivast/polylang-string-extractor · website
★ 10stars
147composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/motivast/polylang-string-extractor/archive/refs/heads/master.zipAlso on Packagist as motivast/polylang-string-extractor:
composer require motivast/polylang-string-extractorFrom the readme
Polylang String Extractor :earthafrica:
Polylang String Extractor is a plugin provided for extract translatable strings from WordPress native translation functions like () or e() to Polylang "Strings translations" table.
Why? :pointup:
Polylang is great plugin to translate WordPress. It provide ease way to translate pages, posts, custom post types and strings. Strings however must be translated with pll or plle functions and registered with pllregisterstring to display in "Strings translations" table. It can be very time consuming to adjust your theme or plugin to be compatible with Polylang string translations functionality.
This plugin will scan themes and plugins and search for native WordPress translations functions like () or e(), extract strings from them and add to "Strings translations" table in Polylang.
Installation :package:
1. Visit Plugins Add New
2. Search for “Polylang String Extractor”
3. Install and activate “Polylang String Extractor"
or
1. Download plugin from wordpres.org repository or release section.
2. Upload the polylang-string-extractor directory to your /wp-content/plugins/ directory
3. Activate the plugin through the"‘Plugins" menu in Word