Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Polylang Theme Strings

Descriere

What is «Polylang Theme Strings» and what for is it?

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.

How works «Polylang Theme Strings»?

You have to install the plugins «Polylang» and «Polylang Theme Strings» on your multilanguage WordPress CMS project and they must be both active. When you are in the settings of plugin (Polylang) in the tab «Strings translation» the «Polylang Theme Strings» scans automatically the active theme of your project, find all the code strings that needed to be translated, adds them to the register, displays them on that page and gives to user the ability to translate these strings.

Like you can see, the «Polylang Theme Strings» is perfectly integrate with the «Polylang» plugin and works in automatically mode – it is comfortable, simple, and useful!

From version 4.0 «Polylang Theme Strings» got settings page where you can configure the search strings-translations more deeply.

Learn more in http://modeewine.com/en-polylang-theme-strings.

Capturi ecran

  • Screen of «Polylang» strings translate page settings and when «Polylang Theme Strings» in action.

Instalare

  1. Make sure you are using WordPress 3.8 or later and that your server is running PHP 5.0 or later.
  2. Install multilingual plugin «Polylang».
  3. Install the plugin «Polylang Theme Strings».
  4. Activate both plugins via the ‘Plugins’ menu in WordPress administration panel.
  5. Go to the languages (Polylang) settings page.
  6. When you are in «Strings translation» tab of plugin settings (Polylang) – «Polylang Theme Strings» starts scan the active theme of your project automatically, it finds all the code strings that needed to be translated, adds them to the register, displays them on that page and gives to user the ability to translate these strings.
  7. Learn more in http://modeewine.com/en-polylang-theme-strings.

Întrebări frecvente

Installation Instructions
  1. Make sure you are using WordPress 3.8 or later and that your server is running PHP 5.0 or later.
  2. Install multilingual plugin «Polylang».
  3. Install the plugin «Polylang Theme Strings».
  4. Activate both plugins via the ‘Plugins’ menu in WordPress administration panel.
  5. Go to the languages (Polylang) settings page.
  6. When you are in «Strings translation» tab of plugin settings (Polylang) – «Polylang Theme Strings» starts scan the active theme of your project automatically, it finds all the code strings that needed to be translated, adds them to the register, displays them on that page and gives to user the ability to translate these strings.
  7. Learn more in http://modeewine.com/en-polylang-theme-strings.

Verificări

aprilie 5, 2019
Great plugin - but it only detects plugin strings on some websites and not others. The following on the Settings page states: "Include the search for plugins of WordPress It may be required additional system resources" What exactly does this mean? Are their server settings that can be altered that may help the plugin find the strings from other plugins?
noiembrie 29, 2018
I think there is a bug and it is changing the site language to english.
august 15, 2018
All plugins polylang-strings detected: 3516 I don't need the Dashboard and back office of WordPress translated. I only want the front-facing website elements translated. Please add an option to ONLY translate things the public can see! I would hate to see others have to go through 179 pages of translations like I do! GREAT plugin!
Citește toate cele 34 de recenzii

Contributori și dezvoltatori

„Polylang Theme Strings” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

4.0 (2018-08-15)

  • Integrated new feature: include the search for native string functions of WordPress (configurable on setting page).
  • Integrated new feature: include the search of strings-translation for WordPress plugins (configurable on setting page).
  • Merged the menu of «Polylang» and «Polylang Theme Strings».
  • Own plugin settings page.
  • Fixed small bug in the theme-files search-system.
  • Tested and optimized compatibility up to WordPress 4.9.8.
  • Tested and optimized compatibility up to Polylang 2.3.9.
  • Improved code.

3.5 (2017-09-11)

  • Tested and optimized compatibility up to WordPress 4.8.1.
  • Tested and optimized compatibility up to Polylang 2.2.1.
  • Improved code.

3.4 (2017-05-17)

  • Fixed small bug in the search-engine of strings-translation.
  • Added file size limit in the theme-files search-system.

3.3.2 (2017-01-25)

  • Added compatibility with Polylang 2.1 (Thanks to Mike Ambukadze for the report).

3.3.1 (2017-01-24)

  • Fixed small bug in the theme-files search-system (Thanks to einicher).

3.3 (2017-01-20)

  • Added compatibility for strings with special characters.
  • Tested and optimized compatibility with WordPress 4.7.
  • Tested and optimized compatibility with Polylang 2.

3.2.1 (2016-07-21)

  • Fixed small bug (Thanks to Peter Bowyer).

3.2 (2016-06-28)

  • Improved search-engine of strings-translation.

3.1 (2016-06-01)

  • Improved code.
  • Tested and optimized compatibility with PHP 7.

3.0 (2016-03-23)

  • Added new info area in strings-translations page (Polylang settings).
  • Improved code and scanning strings engine.
  • Tested and optimized compatibility with WordPress 4.5.

2.2.1 (2016-03-09)

  • Fixed small bug in search strings-translation.

2.2 (2016-01-25)

  • Optimized compatibility with Polylang 1.8.
  • Improved code.

2.1.1 (2015-12-17)

  • Tested and optimized compatibility with WordPress 4.4.

2.1 (2015-09-01)

  • Absolute compatibility with WordPress 4.3.
  • Partially improved code.

2.0 (2015-06-21)

  • Completely remade the search strings-translations logic in the themes.
  • In the languages (Polylang) settings page: the search is performed on all themes in your project.
  • Optimized initialization strings-translations for the active theme.
  • Improved code.

1.1 (2015-06-12)

  • Fixed bug when removing the plugin from the admin panel.
  • Improved code.

1.0 (2015-05-29)

  • Prima versiune.