Thus, after running the commands, they have to flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below:
For module translation, navigate to the following path in your system app/code/Webkul/storeoptimization/i18n/en_US.csv.
After that, open the file named en_US.CSV for editing as shown in the below screenshot:
Then replace the words after the comma(,) on the right in the file with your translated words.
In addition editing and translating the CSV file, the users need to save the translated file name according to your region language and country code such as – de_DE.CSV.
Followed by uploading the translated file to the same folder from where the users have obtained it.
After that, the module language translation is completed.
After installing the module, The admin can configure the module by navigating through Store> Configuration> Store Optimization Settings.
Image Optimization Settings
Under image optimization settings the admin can do the following:
Enable Image Optimization: Select “Yes” to enable image optimization extension.
Compression Type: The admin can select the compression type among WebP & JPEG which automatically convert the file type of the image to the selected compression type.
Similarly, if you select the option to “Jpeg” then the file will get changed to Jpeg.
Similarly, if you select ‘No’ then the file name will remained to the original file type.
Enable Image Responsive Pixels: Select ‘Yes’ to make the image pixels responsive in nature. This means the images will adjust according to the screen size of mobile, desktop, and tablet.
Enter Comma Separated List of Responsive Pixels: Here the admin can enter values for responsive pixels for example – 1, 2, 3. The value may vary according to different themes.
Defer Load JS Settings
Enable Defer Loading: If you select ‘Yes’ then the page content will load before running any external script and this will increase the performance.
The performance will get displayed only by running Audits.
If you select ‘No’ then the scripts will be included and because of that, the performance will get decreased.
The admin can enable the infinte scroller option by selecting “Yes”. This will help in showcasing all products on a single page available in a category.
If the option is selected as “No” then, in this case, the products on category page will be visible to customers in multiple pages not on a single page.
Image Lazy Loader
The admin needs to select “Yes” to enable the image lazy loader feature which basically helps in loading the category page and product page faster by showcasing the content on pages first after that their images.
Mass Convert Images to WebP or JPEG
Using the command-line tool, the store administrator can convert the multiple numbers of image files to WebP or JPEG formats. This is useful for compressing a large number of different images quickly.
Thus, that’s all about Magento 2 Speed and Performance Optimization Extension. For any further queries and suggestions, please raise a ticket at HelpDesk Support.
Current Product Version - 4.0.0
Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x