Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Performant Translations icon

Performant Translations

v1.2.0
by Pascal Birchler · 4.9 (15 reviews)

Making internationalization/localization in WordPress faster than ever before.

30K+ active installs Updated Dec 03, 2024 Tested to 6.7.2 Requires PHP 7.0
Try Demo Download
Pre-installed Ready in ~10s No card
Performant Translations

About Performant Translations

The Performant Translations plugin is designed to make internationalization and localization in WordPress faster. While some functionality has been merged into WordPress 6.5, this plugin is still relevant for cases where language packs are not downloaded from WordPress.org, such as when using commercial plugins or developing your own. By converting .mo translation files to .php files, this plugin significantly reduces the overhead of localized WordPress sites, resulting in faster loading times.

Screenshots

Performant Translations screenshot

Frequently asked questions

What does the Performant Translations plugin do?
The Performant Translations plugin optimizes localization in WordPress by converting .mo translation files to .php files. This approach significantly reduces the overhead associated with localized WordPress sites, making them faster.
Is this plugin still necessary with WordPress 6.5?
Most functionality of this plugin has been merged into WordPress 6.5. However, it remains relevant for cases where language packs are not downloaded from WordPress.org, such as when developing custom plugins or using commercial plugins.
How does this plugin improve site speed?
By converting translation files to a new .php format, the plugin massively reduces the performance overhead of internationalization. Sites using a language other than English (US) should experience immediate speed improvements upon activation.

Changelog

For the plugin’s full changelog, please see the Releases page on GitHub.

1.2.0

  • This plugin now requires WordPress 6.5

1.1.2

  • Fixed a minor regression when assembling file paths to look up.

1.1.1

  • Fixed: Addressed a slight performance regression in 1.1.0.
  • Fixed: Addressed an issue with incorrect plural forms for certain locales.

1.1.0

  • Enhancement: Support for this functionality existing in WordPress 6.5.
  • Enhancement: Added hardening for file paths not being strings because of a faulty plugin filter.
  • Enhancement: Invalidate OPcache after writing PHP files.
  • Enhancement: Improve compatibility with pluralized strings referenced as singulars.

1.0.9

  • Enhancement: Improved compatibility with WPML string translation add-on.

1.0.8

  • Fixed: Added workaround for potential file permission issues.

1.0.7

  • Fixed: Prevent issue where not all core translations were updated.
  • Enhancement: Change the order translations are loaded in to improve backward compatibility.

1.0.6

  • Enhancement: Remove JSON file support.
  • Fixed: Add hardening when using translation file paths with symlinks.

1.0.5

  • Enhancement: Improved compatibility with Loco Translate to avoid duplicate files.

1.0.4

  • Enhancement: Several minor performance improvements.
  • Enhancement: Use different file extension (.mo.php instead of just .php) to prevent conflicts.
  • Enhancement: “Import” existing translation file if one is already loaded for a text domain.
  • Enhancement: Use WP Filesystem API if available.

1.0.3

  • Enhancement: Improved compatibility with Query Monitor’s developer tools panel.
  • Enhancement: Added new performant_translations_load_translation_file filter.
  • Enhancement: Enforce network-only activation on Multisite.

1.0.2

  • Fixed: Add hardening for invalid values being passed to translation functions.

1.0.1

  • Enhancement: Regenerate translation files when Loco Translate updates MO files.
  • Fixed: Add hardening for invalid context being passed.
  • Fixed: Fix handling of locales without plurals, such as Persian.

1.0.0

  • Initial release.

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.