Back to Top

Magento 2 Multi Vendor Catalog Translation

Updated 18 August 2023

Introduction

The module Marketplace Catalog Translation for Magento 2 (Adobe Commerce) automatically translates the product and category attributes to the selected store view using the google translator.

For instance, earlier whenever a customer selects any store view other than the default. As a result category and product name don’t get translated as per the selected store view.

Now by using this extension the customers can select any store view and the entire store language will translate accordingly.

In conclusion, the module provides translation functionality for Seller product attributes, admin product attributes, and categories.

Note: 

Searching for an experienced
Magento 2 Company ?
Find out More
  • This is an add-on of Webkul’s Magento 2 Multi Vendor Module, so for using this module you need to install Marketplace modules first.
  • The Magento 2 Google Translate uses Google Translation service. To enable the service, you must have the Google API Key to make use of this extension. You can generate one by clicking here.
  • Moreover, you need to enable billing for your google account project under which the API Key is created. Further, to know more please visit here.

Check a brief overview of the plugin working –

7VwEgIJc05M

Features – Magento 2 Marketplace Catalog Translation

  • Support translations according to store language.
  • Automatically translates the language by using Google Translation API.
  • Provides Translation functionality for Seller product attributes.
  • Provides Translation functionality for Admin product attributes.
  • Further, Provides Translation functionality for Admin category attributes.

Installation – Magento 2 Marketplace Catalog Translation

Firstly, the customers will get a zip folder and they have to extract the contents of this zip folder on their system. Moreover, the extracted folder has an src folder, in the src folder, you will find the app folder.

Then, you will have to transfer this app folder into the Magento 2 (Adobe Commerce) root directory on the server as depicted below.

Magento-2-Google-Translate

After the successful installation of Magento 2 Marketplace Catalog Translation, you have to run the command in the Magento 2 root directory.

First command –

php bin/magento setup:upgrade

Second Command –

php bin/magento setup:di:compile

Third Command –

php bin/magento setup:static-content:deploy

Fourth Command –

php bin/magento indexer:reindex

Cache Management

Then, after running the commands, you have to flush the cache from the Magento admin panel. So, navigate through->System->Cache management as shown below.

Magento-2-Google-Translate-Flush-Cache-1

Multilingual Support

Now, the admin will navigate to Stores->Configuration->General ->Locale Options. Here, you can select the locale as German. (Locale is the language into which the admin desires to translate his store content).

Magento-2-Google-Translate-lang1

Note:Please enable developer mode to change the locale for using module functionality.

Module Translation

If you want to translate the module language from English to German. Then, follow the following path in the unzipped Magento 2 web security folder. src/app/code/Webkul/MarketplaceCatalogTranslation/i18n.

After that, you will receive a CSV file with the name “en_US.csv”. Now, rename that CSV on your region code and language code “de_DE.csv”.

Next, translate all right-side content in your language. After editing the CSV, and saving it Next, you need to upload it where you have installed Magento 2 on the server.

webkul-magento2-sample-product

Consequently, the module will get translated into your desired Language.

en_US-Google-Sheets

Module Configuration – Magento 2 Marketplace Catalog Translation

After the successful installation of this module. To configure the module navigate to the Stores > Configuration > Marketplace Catalog Translation.

Configuration-Settings-Stores-Magento-Admin-21

Further, the admin is required to give input for the below fields.

Set Enable Translations: The admin can enable/disable the translation functionality from here.

Enable Product Translations: Using this field the admin will be able to translate the product texts and attributes on the front end if enabled.

Enable Category Translations: Using this field the admin will be able to fetch translation for the Category on the front end if enabled.

API Key: Here, enter the Google API key for the language translation.

Translation For Existing Product & Categories

The module performs language translation just for the newly added category and product attributes.

However, if you want to translate all the existing product and categories. Simply run the below command in your Magento 2 root directory.

For Existing Categories Translation

Translate the already existing (old) categories as per the chosen store view.

php bin/magento update:translation:category

Existing Products Translation

This command is used to translate the already existing (old) products as per the chosen store view.

php bin/magento update:translation:product

Selected existing product translation

Translate the already existing (old) selected products by their product id as per the chosen store view to save execution time.

php bin/magento update:translation:product -p 1,2,3

Category Translation – Admin Workflow

Navigate to the Catalog > Categories. Simply, create a new category. Moreover, the admin needs to select the Store View from the top left corner to view the translation.

Magento-2-Google-Translate-Language-translator-admin-product-10

As a result, the category name gets translated into the language specified for the chosen store view.

For example, here we have done a translation in Arabic, as per the locale set for the chosen store view.

Screenshot-2021-04-08-17_44_36-1

Product Translation – Admin Workflow

Secondly, navigate to the Catalog > Products. Simply, create a new product. Moreover, the admin needs to select the Store View from the top left corner to view the translation.

Language-translator-product-4

After selecting the store view, the product attributes (all the user inputs like product name, description, etc.) will get translated into the language specified for the chosen store view.

Here in Arabic, depending upon the locale set for the chosen store view. As a result, it will appear as shown in the image below.

Screenshot-2021-04-08-17_45_48

Product Translation – Seller Workflow

After login into the seller panel, the seller can simply, create a new product by navigating to the My Account > New Products. After selecting the product type click continue.

The seller needs to select the Store View from the top right corner to view the translation.

Edit-Product

Edit-Product-1

After selecting the store view, the product attributes (all the user inputs like product name, description, etc.) will get translated into the language specified for the chosen store view.

Here in Arabic, depending upon the locale set for the chosen store view. As a result, it will appear as shown in the image below.

-المنتج

-المنتج-1

Seller View – Product Translation

As shown in the image below for the product page. This is the default store view where the locale has been set to English.

New-product

Now after changing the store view for this product. As a result, it got translated into the language specified for the chosen store view.

Here in Arabic, depending upon the locale set for the chosen store view. Thus, the same will reflect on the front-end as shown below.

-جديد

Customer View – Category Translation

As shown in the image below, this is the default store view where the locale has been set to English.

-front-end-category

Now when the customer selects a store view in the front-end. The category name also gets translated into the language specified for the chosen store view.

Here in Arabic, depending upon the locale set for the chosen store view. Thus, the same will reflect on the front-end as shown below.

Screenshot-2021-04-08-17_46_11

Customer View – Product Translation

As shown in the image below for the product page. This is the default store view where the locale has been set to English.

Language-translator-frontend-product-8

Now after changing the store view for this product. As a result, it got translated into the language specified for the chosen store view.

Here in Arabic, depending upon the locale set for the chosen store view. Thus, the same will reflect on the front-end as shown below.

Screenshot-2021-04-08-17_47_10

That’s all for the Marketplace Catalog Translation for Magento 2 (Adobe Commerce). However, if you still have any questions regarding the module please create a support ticket by clicking here. Above all, send an email to [email protected]

Explore the Adobe Commerce Cloud development services by Webkul. You may also browse other Magento 2 marketplace addons. Also our quality Magento 2 extensions.

Current Product Version - 5.0.3

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