This articles describes the changes that took place in 4.9 update. This update prepares KLEO for 5.0 major update and makes sure to stay update to date with latest Envato theme requirements.
Key changes in version 4.9:
- Renamed Kleo theme translation text domain from ‘kleo_framework’ to ‘kleo’
- Improved import experience
- Import and add-ons restriction by purchase code
- Moved plugin territory code to K Elements plugin
Renamed Kleo theme translation text domain from ‘kleo_framework’ to ‘kleo’
In order to comply with latest theme requirements we needed to change our theme translation text domain to match the theme slug and that is why we renamed it to ‘kleo’.
How will this impact your site?
Any previous string translation should work as it did before the update.
If you have template overrides in your child theme it is recommended to compare the files with parent theme and make the necessary updates.
Migration tool
- We already did a migration tool that will search under wp-content/languages/themes folder for Kleo translation files and will rename them to match the new domain name.
- WPML String translation plugin. This tool mentioned above will also search in WPML strings in the database and change the domain accordingly.
You will see a notice like the one below when you update to KLEO 4.9 to initialise the migration tool.
When completed the translation should work normally.
If you encounter any problems related to any multilingual plugin or translation in general please let us know by opening a ticket.
Improved import experience
We adjusted the import mechanism so any plugins, images and content will import so the result will be as much as our demos. We also prepared the import functionality for upcoming Elementor integration where you will have the option to import KLEO demos for WPBakery Builder or for Elementor.
Import and add-ons restriction by purchase code
Starting with version 4.9 you will need to enter your Themforest purchase code in Appearance – KLEO Panel in order to start importing demos and installing add-ons. This is to ensure us we are dedicating our resources to our valid and valuable customers.
Moved plugin territory code to K Elements plugin
To stay up to date with the latest trends and with Envato Theme requirements we needed to move some code to K Elements plugin. Themes shouldn’t load code that add functionality since once that theme is deactivated also the functionality is lost.
How will this impact your site?
Just make sure you update K Elements to version 4.9, no other action is required.
Info: Updating K Elements plugin is done from Appearance – Install Plugins.