Today, we’re going to teach you guys how to enable inline translation in your Magento 2 store.
Magento 2, as you might already know, is known for its flexibility, scalability, and customization features. The platform has a global presence, which allows Magento 2 merchants to reach customers from all over the world.
But in order to appeal to the worldwide audience, it’s crucial to localize the storefront for each country you’re planning to target. One way to do that is through content translation.
There are two ways of content translation in Magento 2:
- Add a language pack
- Enable Inline Translation
This article will show you exactly how to enable inline translation in Magento 2.
Step-By-Step Process to Enable Inline Translation in Magento 2
Please follow the below steps to learn how to enable inline translation in your Magento 2 store.
Step - 1
First of all, log in to your admin panel and navigate to Stores > Configuration.
Step - 2
After that, select Developer under the Advanced tab from the left-side menu.
Step - 3
Next, expand the Translation Inline and do the following:
- Select YES in the Enabled for Storefront field.
- Click on the Save Config button.
Step - 4
Navigate to Stores > Configuration > Advanced > Developer and enter your system IP address in the Allowed IPs field to restrict visitors from seeing the red frame.
Step - 5
Now, go to the frontend part and you’ll see the majority of sections in a red frame that can be translated.
Hover over to the red frame and an Open Book icon will appear as shown below.
Step - 6
After that, click on the Open Book icon, enter your custom text in the Custom option, and click on the Submit button.
Step - 7
Finally, check the results on the storefront, the custom text you entered in the previous step will be displayed as shown below.
Conclusion
Language barriers in your eCommerce store can negatively affect your plans to expand international markets. To be successful, you must overcome the language barrier, one way or the other.
Hopefully, this article will you easily overcome the language barrier in your Magento 2 store with inline translation.
That being said, if you’ve any questions regarding this tutorial or need professional assistance with Magento 2 Development, feel free to reach out to us at any time.