- Fixed a fatal error when a locale language contained a number (e.g. “fr3_FR”).
- Fixed an issue where string translations were not shown on the front-end when strings are registered with long names.
Fixed an infinite loop error where the “override_load_textdomain” filter would always return “true”, even if the MO object was not loaded.
Features
Fixes
- Added a troubleshooting action to re-display the “pre-generate MO files” dialog if the translation files are
deleted from the server.- Added a troubleshooting option to clean up and optimize the strings tables in the database.
Compatibility
- Fixed an error that could happen when WPML Core, String Translation, and Translation Management plugins were active but the setup was not complete.
- Fixed an issue with too big flags shown in the admin panel when custom flag image of a large size is used.
- Fixed the way of handling quotes in the blog title and description so translated strings are displayed correctly.
- Fixed the generation of PO files on the “Theme and plugins localization” page. Now, we include only strings belonging to a selected domain, instead of all strings from a plugin.
Fixed the generation of the .htaccess file when the permalinks cache is flushed.
Performances
Usability
- Allow using the “Assume all strings have English original” option on any language to improve performance.
- Improved the performance of upgrade commands.
- Introduced a completely new way of how String Translation handles strings. It is now based on MO Files instead of querying data from the Database. This helps to significantly reduce performance costs.
- Added the Multisite support to the new way String Translation loads strings using MO files. Now, it is possible to define different translations per site for the same string.
- Generate partial MO files for translated strings and use them for displaying strings in other languages, instead of accessing the database.
- Improve the new usage of MO files in the String Translations plugin to support WordPress Multisite setup.
- Significantly improved the site performance on when updating the page, post, or a WooCommerce product page in the admin.
- Don’t show package strings in the String Translation user interface.