WordPress.org has launched a high-performance translation plug-in to solve performance problems caused by translation
After an in-depth performance analysis earlier this year revealed that translation affects server response times, WordPress contributors came up with six technical solutions for consideration to improve performance on the approximately 56% of websites that use translation. Performant Translations is a feature project of the Core Performance Team and is now available as a plugin on WordPress.org. It combines some suggested solutions and speeds up translation by converting .mo files into .php files, allowing them to be parsed faster and stored in the OPcache cache. It supports multiple file formats (.mo, .php, and .json) as well as multiple text fields and locales loaded simultaneously. Existing .mo files are converted into .php files and then loaded by WordPress. The graph included on the plugin details page shows that page load times are significantly reduced when using the plugin compared to a translated website that does not use the plugin. The plugin's translation results are v...