Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable JavaScript capability.
About Theme and plugin translation for Polylang (TTfP)
"Theme and plugin translation for Polylang" is an extension for the Polylang plugin that allows you to translate WordPress themes and plugins. It automatically searches for translation texts in theme and plugin files and integrates with the Timber library for easy translation of twig files. You can find and translate these texts from the admin dashboard without the need for programs like poedit.Screenshots



Frequently asked questions
What is "Theme and plugin translation for Polylang"?
It is an extension for the Polylang plugin, which is used to make multilingual WordPress websites. This plugin is needed to translate WordPress themes and plugins using Polylang.
How do I configure this plugin?
To configure it, you select themes and plugins to find texts for translation by Polylang. You can access these settings in your admin dashboard under Languages -> TTfP Settings.
How does "Theme and plugin translation for Polylang" work?
It automatically searches all files of WordPress themes and plugins, specifically looking at files with .php, .inc, and .twig extensions. It also integrates with the Timber library to translate twig's skins and chooses texts from various Polylang functions.
Which Polylang functions does this plugin support for text translation?
The plugin supports functions such as _e(), __(), _x(), pll_e(), pll__(), esc_html(), esc_html_e(), esc_html__(), _n(), esc_attr_e(), and esc_attr__(). These functions are used to identify translatable strings within your theme and plugin files.
Changelog
3.4.8 – 2024/10/18
- Optimized performance for the CSV translations importer.
- Added support for network-activated plugins.
3.4.7 – 2024/09/01
- Load current language for “Multilingual Contact Form 7 with Polylang” plugin in translate_cf7_messages.
3.4.6 – 2024/08/07
- Requires Plugins – by problems with the pro version of Polylang.
3.4.5 – 2024/08/07
- Requires Plugins – by problems with the pro version of Polylang.
3.4.4 – 2024/08/07
- Requires Plugins – allow pro version of polylang.
3.4.3 – 2024/08/06
- Added New Plugin Header – Requires Plugins.
3.4.2 – 2024/02/15
- Fixed preg_match_all for pll_.
- New option in settings: “Translate admin dashboard by user preferences (user profile settings)”.
3.4.1 – 2024/01/16
- Fixed ‘Call to undefined function get_plugins()’
3.4.0 – 2023/08/03
- Added apply_filters: ttfp_translation_access.
- Fixed force translating the administrator’s dashboard.
- Switched to PHP 7.0.
3.3.5 – 2023/04/24
- Fixed text domains of plugins on setting page.
- Fixed pll_admin_current_language filter for translate or no translate admin dashboard.
3.3.4 – 2023/04/03
- Check if function get_plugin_data exist before use.
- Added pll_admin_current_language filter for translate or no translate admin dashboard.
3.3.3 – 2023/01/26
- Include text domain of plugins and themes.
3.3.2 – 2022/12/27
- Fixed notice in Polylang_Theme_Translation_Settings.
3.3.1 – 2022/12/15
- Added apply_filters: ttfp_domains.
3.3.0 – 2022/12/15
- Fixed performance in filters in admin.
- Added temporary cache on polylang translations page (for 60s).
- Added WordPress core and admin string scanner: default domain.
- Loading translations on action: pll_language_defined
3.2.23 – 2022/12/12
- Fixed performance in filters in admin.
3.2.22 – 2022/12/12
- Fixed translators in filters.
3.2.21 – 2022/12/12
- Removed esc_html filter.
3.2.20 – 2022/12/10
- Fixed gettext filter for default domain.
3.2.19 – 2022/11/17
- Security fix.
3.2.18 – 2022/11/17
- Security fix.
3.2.17 – 2022/11/08
- Security fix.
3.2.16 – 2022/11/04
- Fixed gettext filter.
3.2.15 – 2022/11/04
- Fixed gettext filter.
3.2.14 – 2022/11/03
- Fixed gettext filter.
3.2.13 – 2022/05/26
- Updated plugin description.
- Test with Polylang version 3.2.3 and WordPress 6.0.
3.2.12 – 2021/06/15
- Added esc_attr_e and esc_attr__ filter.
3.2.11 – 2021/05/17
- Added esc_html filter.
- Test with WordPress 5.7.2 version and Polylang version 3.0.4.
- Updated version.
3.2.10 – 2021/05/10
- Fixed gettext_with_context filter.
3.2.9 – 2021/05/04
- Updated scanner regex.
3.2.8 – 2021/05/03
- Updated scanner regex.
- Updated readme.
3.2.7 – 2021/05/03
- Updated scanner regex: added esc_html__.
3.2.6 – 2021/04/27
- Updated scanner regex.
- Test with Polylang version 3.0.4.
- Updated version.
3.2.5 – 2021/02/20
- UTF-8 header in csv exporter.
- Test with Polylang version 2.9.2.
- Updated version.
3.2.4 – 2020/09/13
- Added ngettext polylang filter.
- Added to file skaner function _n(): single + plural.
- Test with Polylang version 2.8.2.
- Updated version.
3.2.3 – 2020/03/26
- Updated screens.
- Refactoring.
- Test with Polylang version 2.6.10.
- Updated version.
3.2.2 – 2020/02/02
- Fixed gettext filter.
- Test with WordPress 5.3.2 version and Polylang version 2.6.9.
- Updated version.
3.2.1 – 2019/12/07
- Updated version.
- Test with WordPress 5.3 version and Polylang version 2.6.7
3.2.0 – 2019/09/26
- Added setting section in “TTfP Settings” tab.
- Updated version.
3.1.1 – 2019/09/20
- Fix file scanner.
- Updated version.
3.1.0 – 2019/09/13
- Translate strings from functions: _e( string $text, string $domain = ‘default’ ) and __( string $text, string $domain = ‘default’ ).
- Updated plugin description.
- Test with WordPress 5.2.3 version and Polylang version 2.6.x.
- Updated version.
3.0.0 – 2019/05/12
- Added import and export feature.
- Updated plugin description.
- Test with WordPress 5.2 version and Polylang version 2.5.x.
- Updated version.
2.0.4 – 2018/12/10
- Test with WordPress 5.0 version and Polylang version 2.5.
- Updated version.
2.0.3 – 2018/07/04
- Test with WordPress 4.9.5 version and Polylang version 2.3.4.
- Updated version.
2.0.2 – 2018/01/02
- Updated plugin description.
- Test with WordPress 4.9 version and Polylang version 2.2.7.
- Updated version.
2.0.1 – 2017/10/03
- Test with WordPress 4.8 version and Polylang version 2.2.3.
- Updated version.
2.0.0 – 2017/03/05
- Added plugin scanner.
- Updated version.
1.4.0 – 2017/01/29
- Polylang version 2.1 – fixed: polylang changed default tab.
- Updated version.
1.3.3 – 2017/01/09
- Test with WordPress 4.7 version and Polylang version 2.0.12.
- Updated version.
1.3.2 – 2016/09/07
- Test with 4.6.1 WordPress version.
- Updated version.
1.3.1 – 2016/06/07
- Added plugin logo.
1.3 – 2016/05/15
- Fixed warnings.
- Test with 4.5 WordPress version.
- Updated description.
- Updated version.
1.2 – 2016/03/27
- Updated description.
1.1 – 2016/02/03
- Fixed readme.txt