Steps to Complete Magento (or) Magento 2 Multi Language Store Setup
What is Magento Multi Language Store?
eCommerce being the global adoption in every country, it’s important that web store owners must provide the option of displaying the content in different languages based on the regions. Native Magento2.0 supports around 80 languages and we have listed those on our blog here. If you couldn’t find the language you are looking for, you can still achieve the native language translations using a couple of extensions that are available in the marketplace.
In this blog, we have given steps to build a custom language store using an extension from the Magento connect.
- How to download or get Extension Key in Magento 2.0
- How to install Extension in Magento 2.0
- How to Create a New Store view in Magento 2.0
- Enable Translate Inline In Admin
- List of default language stores in Magento 2.0
Go to the official website of Magento https://marketplace.magento.com
Search for a new language pack (for ex: Chinese). You will get the results as shown in below picture and select any one of your favorite extension.
Once you select the extension, have an option to “Add to Cart”. Click on Add to Cart, and go to the checkout page, If it is a Paid extension you need to pay money and place an order.
You can get Extension in two ways,
- When you click on download, you will redirect to a new page and able to download the extension.
- If you click on the Install, you will redirect to a new page and able to copy the extension key.
This Method requires access to the server bash shell
we need to run below command in Magento 2 root directory
php bin/Magento setup:upgrade
You have the option to create a new store view, as shown in the below picture.
Click on the create store view, and enter the store details for “Store, Name, Code, Status and Sort Order”, then save the store view.
To set up your stored language pack, go to the
Stores ->Configuration ->General -> Locale Options select the language you installed option from the drop-down menu.
You need to navigate to ” Store -> Configuration -> Advanced -> Developer” and select “Yes” for Enabled for Storefront and click on Save Config.
After saving the changes, you need to clear cache “Flush Magento Cache”.
You can able to see book icon under ITEM(S) tab, Mouse over on the text which needs to be translated and then click on the book image which will appear when we mouse over on the text. (as shown in the below picture)
Now, you can able to enter the translated text, enter the translated text which needs to be displayed on the frontend, select the check mark and then click on submit.
af_ZA =======Afrikaans (South Africa)
sq_AL =======Albanian (Albania)
ar_DZ =======Arabic (Algeria)
ar_EG =======Arabic (Egypt)
ar_KW =======Arabic (Kuwait)
ar_MA =======Arabic (Morocco)
ar_SA =======Arabic (Saudi Arabia)
az_Latn_AZ =======Azerbaijani (Azerbaijan)
eu_ES =======Basque (Spain)
be_BY =======Belarusian (Belarus)
bn_BD =======Bengali (Bangladesh)
bs_Latn_BA =======Bosnian (Bosnia and Herzegovina)
bg_BG =======Bulgarian (Bulgaria)
ca_ES =======Catalan (Spain)
zh_Hant_HK =======Chinese (Hong Kong SAR China)
hr_HR =======Croatian (Croatia)
cs_CZ =======Czech (Czech Republic)
da_DK =======Danish (Denmark)
nl_BE =======Dutch (Belgium)
nl_NL =======Dutch (Netherlands)
en_AU =======English (Australia)
en_CA =======English (Canada)
en_IE =======English (Ireland)
en_NZ =======English (New Zealand)
en_GB =======English (United Kingdom)
en_US =======English (United States)
et_EE =======Estonian (Estonia)
fil_PH =======Filipino (Philippines)
fi_FI =======Finnish (Finland)
fr_BE =======French (Belgium)
fr_CA =======French (Canada)
fr_FR =======French (France)
gl_ES =======Galician (Spain)
ka_GE =======Georgian (Georgia)
de_AT =======German (Austria)
de_DE =======German (Germany)
de_CH =======German (Switzerland)
el_GR =======Greek (Greece)
gu_IN =======Gujarati (India)
he_IL =======Hebrew (Israel)
hi_IN =======Hindi (India)
hu_HU =======Hungarian (Hungary)
is_IS =======Icelandic (Iceland)
id_ID =======Indonesian (Indonesia)
it_IT =======Italian (Italy)
it_CH =======Italian (Switzerland)
ja_JP =======Japanese (Japan)
km_KH =======Khmer (Cambodia)
ko_KR =======Korean (South Korea)
lo_LA =======Lao (Laos)
lv_LV =======Latvian (Latvia)
lt_LT =======Lithuanian (Lithuania)
mk_MK =======Macedonian (Macedonia)
nb_NO =======Norwegian Bokmål (Norway)
nn_NO =======Norwegian Nynorsk (Norway)
fa_IR =======Persian (Iran)
pl_PL =======Polish (Poland)
pt_BR =======Portuguese (Brazil)
pt_PT =======Portuguese (Portugal)
ro_RO =======Romanian (Romania)
ru_RU =======Russian (Russia)
sr_Cyrl_RS =======Serbian (Serbia)
sk_SK =======Slovak (Slovakia)
sl_SI =======Slovenian (Slovenia)
es_AR =======Spanish (Argentina)
es_CL =======Spanish (Chile)
es_CO =======Spanish (Colombia)
es_CR =======Spanish (Costa Rica)
es_MX =======Spanish (Mexico)
es_PA =======Spanish (Panama)
es_PE =======Spanish (Peru)
es_ES =======Spanish (Spain)
es_VE =======Spanish (Venezuela)
sw_KE =======Swahili (Kenya)
sv_SE =======Swedish (Sweden)
th_TH =======Thai (Thailand)
tr_TR =======Turkish (Turkey)
uk_UA =======Ukrainian (Ukraine)
vi_VN =======Vietnamese (Vietnam)
cy_GB =======Welsh (United Kingdom)
If you are looking for “Multi-language Store setup”, you can contact us.