2017 © Pedro PelĂĄez
 

wordpress-plugin polylang-string-extractor

Polylang String Extractor is a plugin provided for extract translatable strings from WordPress functions to Polylang.

image

motivast/polylang-string-extractor

Polylang String Extractor is a plugin provided for extract translatable strings from WordPress functions to Polylang.

  • Wednesday, June 6, 2018
  • by kierzniak
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Polylang String Extractor :earth_africa:

plugin downloads rating php support, (*1)

travis coverage maintainability, (*2)

Polylang String Extractor is a plugin provided for extract translatable strings from WordPress native translation functions like __() or _e() to Polylang "Strings translations" table., (*3)

Why? :point_up:

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 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., (*4)

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., (*5)

Installation :package:

  1. Visit Plugins > Add New
  2. Search for “Polylang String Extractor”
  3. Install and activate “Polylang String Extractor"

or, (*6)

  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 WordPress

Usage :fire:

After 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., (*7)

Supported functions: * __() * _e() * _x() * _ex() * esc_attr__() * esc_html__() * esc_attr_e() * esc_html_e() * esc_attr_x() * esc_html_x() * _n() * _nx() * _n_noop() * _nx_noop(), (*8)

Polylang 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., (*9)

Contribute :hand:

Please make sure to read the Contribution guide before making a pull request., (*10)

Thank you to all the people who already contributed to Polylang String Extractor!, (*11)

License :book:

The project is licensed under the GNU GPLv2 (or later)., (*12)

Copyright (c) 2018-present, Motivast, (*13)

The Versions

06/06 2018

dev-master

9999999-dev

Polylang String Extractor is a plugin provided for extract translatable strings from WordPress functions to Polylang.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Motivast

04/04 2018

0.1.0

0.1.0.0

Polylang String Extractor is a plugin provided for extract translatable strings from WordPress functions to Polylang.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Motivast