Online stores are big business, and with the rise of COVID-19 and the dawn of more online shoppers than ever before, eCommerce is huge right now. Matching the demand, Magento is, of course, being upgraded to Magento 2, which means some big changes are coming for Magento users.
While there’s a ton to be thinking about, like the entire migration process and making sure everything is running smoothly, one consideration you need to be thinking about comes in the form of language packs.
If you install new language packs on your Magento 2 platform, you’ll be able to sell your products to a wider audience in different countries and from various nationalities. Installation of packs is easy, but just to ensure you get it right and without a hitch, here’s your complete step-by-step guide.
Table of Contents
From the main admin panel of your store, hit the Admin Panel > Stores > All Stores. Click on the Create Store View button, and with the following settings page, you’ll need to:
Now navigate Admin Panel > Stores > Configuration > General > Locale Options. From here, select the language you want to use for your website and make sure you’re unchecking the ‘use website’ button after the locale field. Now save this page using the ‘Save Config’ button.
This will have saved your language pack, and you’ll be all ready to go!
Another easy way to install new language packs is by using the command line of your Magneto 2 store; that’s if you don’t mind going into the command line. Take your time to make sure you carry out the steps properly, so you don’t accidentally create any issues which can take a long time to figure out and may even require a hard reset of your store.
All you need to do is log into your Magneto 2’s server as the system file owner using the credentials you should already know and find the Magento 2 root directly. Within this directory, you’ll want to run the following commands:
That’s all you need to do! Using either of these methods, you should be able to go to your store and select the store view and see everything in a different language.
If you’re translating your website into a lot of languages, it can pay to set your store view order on the Store View information page to one which shows all the languages as being alphabetical. If you have a large traffic base and people coming in from lots of countries, this will be the easiest approach.
However, if you have a lot of traffic coming in from one country, or even several, it may be beneficial to offer the most popular language at the top, to make the experience easier for the viewers coming online. You may want to try both ways through A/B testing to see which is more effective to you.
To uninstall an unwanted language pack, you’ll need to ensure you’re signed in to your store as the Magento file system owner and make your way to the Root directory, as we explained in the command line method above.
Once here, run the following command line while making sure you fill in the gaps, depending on the information you’ve set up in your store view information page when you were installing.
The code is as follows:
bin/magento i18n:uninstall [-b|--backup-code] {language package name} ... {language package name}
Run this code, and you should see a message successfully detailing how you’ve managed to uninstall a language pack and deleted the store view from your online Magento 2 eCommerce store.
If you have any problems with uninstalling, installing, or just managing the language pack process, there’s a ton of support online on the official Magneto 2 website that can help you.
P/s: Landofcoder’s Magento 2 extensions support multi language.
Beatrix is a writer, blogger, and editor at Ukwritings. She writes articles about Magento and the new switchover to Magento 2.
In today’s digital landscape, the rapid evolution of advanced web applications, particularly Progressive Web Apps…
As eCommerce booms, big data eCommerce will be all about providing insight into how to…
The ecommerce industry is booming like never before. In fact, global retail ecommerce sales are…
From brick-and-mortar retail to SaaS, a robust online presence is vital for business success. A…
In the e-commerce world, complying with Anti-Money Laundering (AML) regulations is more important than you…
Magento is the 4th most popular eCommerce platform used globally, and optimizing the marketing strategy…