Browse Source

Enable automatic language detection from browser

pull/976/head
Collin Brown 4 years ago
parent
commit
8cedfe483f
1 changed files with 5 additions and 0 deletions
  1. 5
      frontend/i18n/index.js

5
frontend/i18n/index.js

@ -18,5 +18,10 @@ export default {
defaultLocale: 'en',
vueI18n: {
fallbackLocale: 'en'
},
detectBrowserLanguage: {
useCookie: true,
cookieKey: 'i18n_redirected',
onlyOnRoot: true, // for SEO purposes
}
}
Loading…
Cancel
Save