- Released
- October 21, 2019
- Channel
- Stable
- Tested with WordPress
- 5.2.4
- Product
- WPML String Translation
Changelog
Features
- 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.
Fixes
- 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.
Compatibility
Fixed the generation of the .htaccess file when the permalinks cache is flushed.
Performances
- 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.
Usability
- Don’t show package strings in the String Translation user interface.
Update or download
The update is available to all WPML clients with an active subscription — it appears on the Plugins page in your WordPress admin within 24 hours of release. You can also check for it right away under Plugins → Add New Plugin → Commercial. To download and install manually, go to Downloads in your wpml.org account (see the installation instructions) and remember to update all components together without mixing versions.
Need help or want to give feedback? Please use our technical support forum.