I've set-up a multi store view website with different languages. On the frontend when selecting the language from dropdown, the page goes to the right language. But when we refresh the page it's set back to the default store language. No cookie is set when selecting a language on the frontend.
I'm running latest version 2.1.0
Use this Extension
You can try Magento 2 Currency & Language Switcher to automatically detects visitors current location and displays the relevant store currency and language. A dropdown is added in the footer/header of the website to let customers change the price manually.
You can also download our extension from Magento marketplace - https://marketplace.magento.com/fme-geoipdefaultlanguage.html