Detect browser language and always redirect to locale - fixed #1108

This commit is contained in:
Liyas Thomas
2020-08-25 21:55:23 +05:30
parent 2916ab502e
commit 86922df61a

View File

@@ -280,6 +280,10 @@ export default {
},
lazy: true,
langDir: "lang/",
detectBrowserLanguage: {
alwaysRedirect: true,
fallbackLocale: "en",
},
},
/*
** Build configuration