WordPress plugin intelligence profile

Theme and plugin translation for Polylang (TTfP)

Theme and plugin translation using Polylang for WordPress. Extension for Polylang plugin.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.6
Current version3.4.9
WordPress coverageTested up to WordPress 6.6
Minimum stackWP 5.7 · PHP 7.0
Directory statusactive
Last directory update15 Mar 20251y ago
Active installations10K+Adoption metric — not a quality score
WordPress.org rating4.7 / 5 from 35 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Theme and plugin translation for Polylang (TTfP) version 3.4.9 as active, updated 1y ago and tested up to WordPress 6.6.

Overview

About this plugin

What is “Theme and plugin translation for Polylang”?

).

Plugin is needed to translate the WordPress themes and plugins by Polylang.

How to configure it?

Select themes and plugins to find texts for translation by Polylang.

In admin dashboard:

Languages -> TTfP Settings

How it is work?

“Theme and plugin translation for Polylang” automatically searches all files of WordPress themes and plugins. It chooses from this file only those files with extensions:

  • php
  • inc
  • twig

com) – which allows to translate twig’s skins in simple way.

Plugin in searched skins or plugins chooses texts from Polylang functions, such as:

  • _e(string $text, string $domain = ‘default’);
  • __(string $text, string $domain = ‘default’);
  • _x(string $text, string $context, string $domain = ‘default’);
  • pll_e(string $text);
  • pll__(string $text);
  • esc_html(string $text);
  • esc_html_e(string $text, string $domain = ‘default’);
  • esc_html__(string $text, string $domain = ‘default’);
  • _n(string $single, string $plural, int $number, string $domain = ‘default’);
  • esc_attr_e(string $text, string $domain = ‘default’);
  • esc_attr__(string $text, string $domain = ‘default’);

php, themes or plugins.

For example:

></p>

></p>

On the timber context declare this functions like:

$context['pll_e'] = TimberHelper::function_wrapper('pll_e');

$context['pll_'] = TimberHelper::function_wrapper('pll_');

com/documentation/documentation-for-developers/functions-reference/

These functions are defined by Polylang plugin for printing translations.

Thanks “Theme and plugin translation for Polylang” you can find these strings to translate and add to Polylang register on very simple way.

And then you can translate these texts from the admin dashboard.

The scan result can be seen on the tab with translations:

Settings -> Languages -> String translation

or

Languages -> String translation

mo.

“Theme and plugin translation for Polylang” is highly efficient because the scanner is worked only on admin dashboard in tab:

In dashboard:

Settings -> Languages -> String translation

or

Languages -> String translation

Export and import string translation

In dashboard:

Languages -> TTfP Settings

Filter reference

ttfp_domains

php) to modify list of text domains (unique identifier for retrieving translated strings).

List of text domains is displayed on “TTfP Settings” page to select them for translation by polylang engine.

Example:

add_filter('ttfp_domains', 'custom_ttfp_domains', 10, 1); function custom_ttfp_domains(array $domains):array { $domains[] = "my-custom-domain"; return $domains; }

Filter reference

ttfp_translation_access

Returns whether the user has capability to view and edit translations provided by TTfP.

Example:

add_filter('ttfp_translation_access', 'custom_ttfp_translation_access', 10, 1); function custom_ttfp_translation_access(bool $hasAccess):bool { return current_user_can('edit_posts'); }

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • languages
  • multilanguage
  • polylang
  • translate
  • translation
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.6

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.6.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.6
Minimum requirementsWordPress 5.7 · PHP 7.0
Update activity15 Mar 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.