Detect browser language and always redirect to locale - fixed #1108
This commit is contained in:
@@ -280,6 +280,10 @@ export default {
|
|||||||
},
|
},
|
||||||
lazy: true,
|
lazy: true,
|
||||||
langDir: "lang/",
|
langDir: "lang/",
|
||||||
|
detectBrowserLanguage: {
|
||||||
|
alwaysRedirect: true,
|
||||||
|
fallbackLocale: "en",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
** Build configuration
|
** Build configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user