Internationalization with vue-i18n
🚧 NOTICE: You are watching a Vue.js 2 lesson

Getting the Locale from the Browser

In this lesson, we'll learn another technique to detect which language a user prefers. We'll learn how to get the user's locale directly from the browser.