{"id":36335239,"url":"https://github.com/motivast/polylang-string-extractor","last_synced_at":"2026-01-11T12:05:22.719Z","repository":{"id":57020129,"uuid":"126487167","full_name":"motivast/polylang-string-extractor","owner":"motivast","description":":earth_africa: Polylang String Extractor is a plugin provided for extract translatable strings from WordPress native translation functions like `__()` or `_e()` to Polylang \"Strings translations\" table.","archived":false,"fork":false,"pushed_at":"2020-04-23T15:20:07.000Z","size":97,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T06:02:06.441Z","etag":null,"topics":["polylang","polylang-strings","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/motivast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-23T13:12:40.000Z","updated_at":"2024-11-23T01:02:41.000Z","dependencies_parsed_at":"2022-08-22T12:00:31.272Z","dependency_job_id":null,"html_url":"https://github.com/motivast/polylang-string-extractor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/motivast/polylang-string-extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motivast%2Fpolylang-string-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motivast%2Fpolylang-string-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motivast%2Fpolylang-string-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motivast%2Fpolylang-string-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/motivast","download_url":"https://codeload.github.com/motivast/polylang-string-extractor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motivast%2Fpolylang-string-extractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28302285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T11:18:18.743Z","status":"ssl_error","status_checked_at":"2026-01-11T11:07:56.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["polylang","polylang-strings","wordpress","wordpress-plugin"],"created_at":"2026-01-11T12:05:22.046Z","updated_at":"2026-01-11T12:05:22.715Z","avatar_url":"https://github.com/motivast.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polylang String Extractor :earth_africa:\n\n[![plugin](https://img.shields.io/wordpress/plugin/v/polylang-string-extractor.svg)](https://wordpress.org/plugins/polylang-string-extractor/) [![downloads](https://img.shields.io/wordpress/plugin/dt/polylang-string-extractor.svg)](https://wordpress.org/plugins/polylang-string-extractor/advanced/) [![rating](https://img.shields.io/wordpress/plugin/r/polylang-string-extractor.svg)](https://wordpress.org/support/plugin/polylang-string-extractor/reviews/) ![php support](https://img.shields.io/badge/php%20support-5.6%2C%207.0%2C%207.1%2C%207.2-8892BF.svg)\n\n[![travis](https://img.shields.io/travis/motivast/polylang-string-extractor.svg)](https://travis-ci.org/motivast/polylang-string-extractor/) ![coverage](https://img.shields.io/codeclimate/coverage/motivast/polylang-string-extractor.svg) ![maintainability](https://img.shields.io/codeclimate/maintainability/motivast/polylang-string-extractor.svg)\n\nPolylang String Extractor is a plugin provided for extract translatable strings from WordPress native translation functions like `__()` or `_e()` to Polylang \"Strings translations\" table.\n\n## Why? :point_up:\nPolylang 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 `pll_e` functions and registered with `pll_register_string` 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.\n\nThis 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.\n\n## Installation :package:\n1. Visit Plugins \u003e Add New\n2. Search for “Polylang String Extractor”\n3. Install and activate “Polylang String Extractor\"\n\nor\n\n1. Download plugin from wordpres.org repository or [release section](https://github.com/motivast/polylang-string-extractor/releases/latest).\n2. Upload the polylang-string-extractor directory to your /wp-content/plugins/ directory\n3. Activate the plugin through the\"‘Plugins\" menu in WordPress\n\n## Usage :fire:\nAfter plugin activation Polylang String Extractor will automaticly scan your theme and plugins loooking for WordPress translation functions. To rescan theme and plugins again you can go to \"Strings Translations\" of the \"Polylang\" plugin and click \"Scan for translations\" button.\n\nSupported functions:\n* `__()`\n* `_e()`\n* `_x()`\n* `_ex()`\n* `esc_attr__()`\n* `esc_html__()`\n* `esc_attr_e()`\n* `esc_html_e()`\n* `esc_attr_x()`\n* `esc_html_x()`\n* `_n()`\n* `_nx()`\n* `_n_noop()`\n* `_nx_noop()`\n\nPolylang String Extractor has support for functions which translate plurals like `_n()` but Polylang itself do not has such a functionality. Translating this kind of strings may cause unexpected results.\n\n## Contribute :hand:\nPlease make sure to read the [Contribution guide](https://github.com/motivast/polylang-string-extractor/blob/master/CONTRIBUTING.md) before making a pull request.\n\nThank you to all the people who already contributed to Polylang String Extractor!\n\n## License :book:\nThe project is licensed under the [GNU GPLv2 (or later)](https://github.com/motivast/polylang-string-extractor/blob/master/LICENSE).\n\nCopyright (c) 2018-present, Motivast\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmotivast%2Fpolylang-string-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmotivast%2Fpolylang-string-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmotivast%2Fpolylang-string-extractor/lists"}