How To Translate Products In Magento 2

Translating products in Magento 2 means translate the product name, description fields, and meta data. If your store has multiple views in different languages, in every store view the same products are available. The same necessary product information can be used, such as SKU, price, and inventory level, regardless of language. In this article, we will describe a tutorial on how to translate products in Magento 2.

Step 1: Translate Product Fields

  1. On the Admin sidebar, click Products. After that below Inventory, click Catalog.
  2. In the grid, open the product to be translated in edit mode.
  3. In the upper-left corner change Store View to the view for the translation. Click OK after confirmed.
  4. For each field to be edited, follow these steps:
  • Untick the Use Default Value checkbox to the right of the text field.
  • Either paste or type the translated text into the text field.

Remember to translate all text fields, including image caption, Alt text, Search Engine Optimization text fields and Custom Options information.

  1. Click Save after completed.

Step 2: Translate Field Labels

  1. On the Admin sidebar, click Stores. After that below Attributes, click Product.
  2. In the list, open the attribute to be translated in edit mode.
  3. Click Manage Labels in the panel on the left.
  4. In the Manage Titles section, input a translated label for each store view.
input label translate products in magento 2
Input Translated Labels
  1. When complete, click Save Attribute.

Step 3: Translate All Categories

  1. On the Admin sidebar, click Products. After that below Inventory, click Categories.
  2. In the upper-left corner change Store View to the view for the translation. Click OK after confirmed.
  3. In the tree, open the category to be translated in edit mode.
  4. On the General Information tab, translate these fields:
  • Name
  • Description
  • Page Title
  • Meta Keywords
  • Meta Description
  1. To translate the URL Key, follow these steps:
  • Untick the Use Default Value checkbox.
  • Input the translated text.
  • Remember to select the Create Permanent Redirect for old URL checkbox.
translate url key translate products in magento 2
Translate URL Key
  1. Click Save Category after complete.
  2. For all categories used in the store, repeat the process.

How To Add A Language In Magento 2

By changing the locale of the view, most of the text that hard-coded on pages in your store can be instantly translated into another language. Changing the locale doesn’t translate word-by-word all the text on the interface, but references merely a different translation table that includes the interface text that is used on the store. Navigational titles, labels, buttons, and links such as “My Cart” and “My Account” are included in the text can be changed. To edit text in the interface, you can also use the Inline Translation tool.

You can find other language packs as new extensions on Magento Marketplace, so remember to check back often.

In this article, we provide a tutorial on how to add a language in Magento 2 admin

Step 1: Install a Language Pack

To install the language pack extension from Extension Manager, follow the standard instructions.

Step 2: Create a Store View for the Language

  1. On the Admin sidebar, click Stores. After that below Settings, click All Stores.
  2. Click Create Store View. After that, follow these steps:
  • Click the Store that is the parent of the view.
  • Input the store view’s Name. For example: Portuguese. In the header of the store, the name displays in the “language chooser.”
  • Input a Code in lowercase characters to identify the view. For example: portuguese.
  • To activate the view, change Status to “Enabled.”
  • (Optional) Input a Sort Order number to determine the sequence in which this view is listed with other views.
  1. Click Save Store View after completed.

Step 3: Change the Locale of the Store View

  1. On the Admin sidebar, click Stores. After that below Settings, click Configuration.
  2. Change Store View to the specific view where you want to apply the configuration. Click OK after confirmed that the scope is switched.
  3. Open the Locale Options tab.
  4. Uncheck the Use Website checkbox after the Locale field. After that, change Locale to the language that you want to assign to the view. If there are several variations of the language available, remember to choose the one for the specific region or dialect.
  5. Click Save Config after completed.

The remaining content that store administrator has created, including product names and descriptions, categories, CMS pages, and blocks must be translated separately for each store view after store owner change the language of the locale.

In the next article of Store category, we will provide a tutorial on how to translate products in Magento 2 web store. So keep checking Magestandard more often.

Try These 2 Methods To Use Cookies Features In Magento 2 Web Store

What are cookies?

Cookies are saved files on the computer of the visitor to your site; it’s a temporary saving place for data. To personalize customer’s experience, information that is saved in cookies is used to link customers to their shopping carts, count traffic patterns, and enhance the effectiveness of the promotions. To follow requirements of legislation in many countries regarding the use of cookies and to obtain customer consent, Magento suggests store owners a selection of these two methods :

Method 1: Implied Consent

In this method, customers have a clear understanding that cookies are an essential part of online store operations, and by visiting your web store, have indirectly granted permission to use them. The reason for taking implied consent is to provide enough information for a customer to make an informed decision. The web store will make a pop-up message at the top of first-page customers visit, explains how cookies are used, include a link to the privacy policy of web store. In the privacy policy page, store owners should tell what kind of information that your online store collects, and how is it used.

Method 2: Expressed Consent

In cookie restriction mode, the operating of your online store requires customers to confirm their approval of any cookies can be saved to their devices. Without access granted, many store features will not allow. For example, if Google Analytics is available in your store, it can be activated only after the customer has granted permission to use cookies.

Above is an article about cookies in Magento 2 and two solutions to obtain customer consent. We hope that you can consider the best method for your web store, provide the best experience for customers and completely protect customers information. If you have any question, feel free to leave a comment. Share the article if you think it is useful, and subscribe Magestandard to read more guidelines. In these next posts, we will describe Cookie Restriction Mode and Cookie Reference.

How to Edit Your Privacy Policy in Magento 2

What is Privacy Policy?

A Privacy Policy in Magento 2 is a document that describes the policy of merchant for handling customer information. In Magento 2 default, your store displays a sample form of privacy policy and it can be updated with your information. In your privacy policy, you should describe the type of information that you must collect from customers, and how it is used. The cookies files of the computers that visit your store, and additional cookies that are associated with third-party extensions should be included in the list too.

In this article, we will describe how to edit your privacy policy in Magento 2. To modify your Privacy Policy, follow these steps:

Firstly, in Admin sidebar, click Content. Under Element tab, click Page.

In the table grid, find Privacy Policy section. In Action column, choose Edit in Select.

Open the Content tab, edit the content following your requirements.

magento 2 privacy policy content
Content

If you need to change URL key of privacy policy page, you have to create a custom URL rewrite to redirect traffic to the new URL key. Without this step, the footer privacy policy link will get error 404, and customers can not reach your privacy policy page.

Click Save page after completed the edit.

Above is a description of the privacy policy in Magento 2, and tutorial on how to edit privacy policy of your Magento 2 web store. We hope that you can create your privacy policy and respect the privacy of customers data to make the e-commerce world safer and better. If you have any question, feel free to leave a comment. If you think this article is useful, don’t forget to share it. And remember to subscribe Magestandard to read more Magento guidelines. In the next post, we will describe the Cookie Law Compliance for Magento 2 web store.