Back to Top

Magento 2 AI Review Translator – User Guide

Updated 13 April 2024

The Magento 2 AI Review Translator provides the functionality of translating the customer reviews posted on the products. The reviews will be translated as per the store language and store view.

You can also add product content with the help of an AI generator using the Magneto 2 ChatGPT AI Extension for fast and accurate product content.

Also, if you are looking to import and export the product reviews then you can check the Magento 2 Product Review Import Export extension.

For more information, you can also check the video below,

OZcMU5tDE_A

Features

  • The admin can enable/disable the module.
  • Translate the review in your store-based language.
  • The translation will be based on store language and store view.
  • It will work with RTL and LTR both types of languages.

Installation

The installation is quite simple just like the standard Magento 2 extensions.

Searching for an experienced
Magento 2 Company ?
Find out More

#1 Download Module

Firstly, you need to log in to the Webkul Store, go to My Account>My Purchased Products section, verify, and then download and extract the contents of this zip folder on the system.

#2 Upload Folder

Once the module zip is extracted, follow path src>app and then copy the app folder into the Adobe Commerce Cloud root directory on the server as shown below:

image-21

#3 Run Commands

After uploading the module folder, you need to run the following commands in the Magento 2 root directory:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush

Server Settings

Environment Setup Guide:

Please make sure that the node server is already installed on the host.

After the module installed please follow the below steps:

Fill in configuration details where 

Host = yourdomain (without protocol)

Port = 3000

Save configuration.

In your Magento root folder run the following command : 

npm init -y
npm i socket.io socketio-file-upload
npm update
npm i forever-monitor
node_modules/forever/bin/forever app.js

## Make sure Node is already installed on your server.##

Run the following command from the root directory of your Magento to install socket.io on your server.

First, you have to install the npm on your server to run the command

- sudo apt-get update
sudo apt-get install npm

Then, to install all the required packages,

run the following command-

npm install

2. Flush the cache and reindex all.

3. If the CSP is configured in Restrict Mode then please run the below command after saving the Host

Name and Port Number in Admin Stores Configuration-

php bin/magento setup:di:compile

To start the server run:-

npm start

To stop server run:-

npm stop

4. To translate the review message run the following command

php bin/magento Translate:All

How to Get API Credentials?

The user has to first create an OpenAI account and log in to the OpenAI dashboard as shown in the screenshot.

openAI

Now the user will have to click on the Personal in the top-right corner and a popup will appear. The user will click on the View API Keys option.

Open-AI-1

A page will open and a button Create New Secret Key will be visible as shown in the screenshot.

Open-AI-3

Once, the user clicks on this button a pop-up will display with the API key. The user can copy the key from here with the help of the copy button.

Open-AI-2

Initial Configuration

Once the module gets installed successfully the admin has to configure the module from Settings > Configuration > AI review Translator.

192.168.15.153_ReviewTranslator_pub_admin_admin_system_config_edit_section_aireviewtranslator_key_f12313b7b0c14386ce2e2807bb4f951da96a419171e9ceae6163775b08b74bd0_webkul-store

Here admin has to configure the server settings and OpenAI credentials.

HTTPS Enabled

When HTTPS is enabled admin has to enter some credentials and files.

192.168.15.153_ReviewTranslator_pub_admin_admin_system_config_edit_section_aireviewtranslator_key_0bb0d0868beb15de136a2907e0a4406fea208d1693946654013dfea8c9f3d30d_webkul-store-1

Upload Server Private Key File – You can get this file from your host provider, file name must be server.key

Server Certificate File – You can get this file from your host provider, the file name must be as: server.crt

Upload Server CA Bundle File – You can get this file from your host provider, file name must be as: server.ca-bundle

Store Settings

Once the module is configured admin has to update the store’s general settings. Here they can select the locale language accordingly the review will translate into the store language.

Magento 2 AI Review Translator

Customer End WorkFlow

When the customer opens the store website they can post a review for an individual product.

Magento 2 AI Review Translator

They can also check the posted review by clicking on the review count option.

Add Review

Customers will scroll to the bottom and they will find the review option for the product they can post the review in their desired language and submit the same using Magento 2 AI Review Translator.

192.168.15.153_ReviewTranslator_pub_argus-all-weather-tank.htmlwebkul-store

Once the issue will post the admin can approve and disapprove the review from their panel.

Magento 2 AI Review Translator

Once the review is approved it will display on the frontend after translation.

Magento 2 AI Review Translator

So, that is all about the Magento 2 AI Review Translator extension. If you have any queries regarding the plugin, please contact us at Webkul Support System.

Current Product Version - 4.0.0-p1

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content