7

so I'm new to Magento and I'm making an online store for a client using Magento 2 CE.

Their company is based in Canada so they want to have a language selector for English and French.

I normally make websites in Wordpress, and have no idea where to start for Magento.. Would I need to make multiple stores, or what? Also how do I add the french translation content into the store?

Sorry if this is super simple, I'm trying to learn but don't want to learn the wrong way... if that makes any sense

15

To create 2 different languages for website, first you need to create other store view (admin > Stores > All Stores > Create Store View)

- Name: French

- Code: fr

- Status: Enable

Second, set default language for each store view (Store > Configuration [General])

For default store view, at Locale Options set Locate is Englist (United States):

enter image description here

Save config

Change Store view to French

enter image description here

Uncheck Use Website and change Locale to French (Canada)

enter image description here

Save config. Done

Note: You can change Default Store View to English

  • i did the same but i can see the store switcher on frontend side in header links – Sarfaraj Sipai Dec 14 '17 at 13:15
1

Yes as in magento 1.x you must create a new store for every new language so if your default store is in english you need to create a new one for french.

In the default theme "luma" you'll see the store name in the language selector.

  • You must clear cache and deploy static contents in order to see it (the same needed for any frontend change) – MauroNigrele Feb 11 '16 at 20:45

protected by Community Mar 5 '18 at 10:32

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.