In order to set a new language in your store, you have to download and install the language pack. In order to do this, you have to find a language pack you need first. Enter e.g. "Magento 2 French locale GitHub" at Google, open the GitHub page, follow all the instructions to install the language package.
The next thing you have to do once you've installed the Magento 2 language pack is to activate it.
You may be interested in:
✔ How to change Language of Magento 2 Admin Panel?
✔ Configure Auto Language Switcher in Magento 2
Take the following steps in order to enable the language pack in Magento 2:
- Navigate to Stores > Configuration > General > Locale Options.
- Choose the corresponding language from the Locale dropdown. Note: in case you have several store views switch to the Store View you want to change the language for.
Once you've chosen the language don't forget to Save Config and Flush Magento Cache.
This post is just one of the series of articles about How to Configure Multi-Language Magento Website? which include information about the creation of a new store view, useful multi-language store extensions, product&category, CMS pages&blocks, email templates, and other translations in Magento 2 website. You should definitely get acquainted with them in order to know how to manage a multilanguage store.