Better text domain loading with object cache support
As of April 2026, Dynamic MO Loader is a WordPress rest-api plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.1K+ times in total. Requires WordPress 4.7.3+ and PHP 7.0+. Available on WordPress.org since 2019. Last updated 6 years ago — may have compatibility concerns. Top alternative: WooCommerce Legacy REST API.
Changing the WordPress site language to any other than English slows down page generation times. A lot. This is caused by the slow and inefficient way of text domain loading. This plugin, based on the excellent work by Björn Ahrens, aims to fix that by loading only the text domains that are used in a page and even more, by caching them.
PO and MO files are designed to be used with PHP Gettext-extension. But since it\’s an extension, it\’s not installed by default on all hosting platforms. To overcome this barrier, WordPress has re-implemented the whole MO file parsing in PHP completely ignoring the possibility to use native gettext, if available. This WordPress\’ implementation is a bit slow.
This plugin has another implementation of MO parsing, which is faster than the…
| WordPress | 4.7.3+ requiredTested up to 5.2.24 |
| PHP | 7.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.