mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
fix: use 'en' as default locale, fix #481
this is a temporary fix as getting the default locale choosen by admin is not so easy with nuxt2
This commit is contained in:
parent
ac0aa23c89
commit
4e5ffa9845
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,6 @@ module.exports = {
|
|||
locales: Object.keys(locales).map(key => ({
|
||||
code: key,
|
||||
name: locales[key],
|
||||
file: `${key}.json`,
|
||||
file: 'loader.js',
|
||||
language: key
|
||||
})),
|
||||
|
@ -101,6 +100,7 @@ module.exports = {
|
|||
lazy: true,
|
||||
strategy: 'no_prefix',
|
||||
skipSettingLocaleOnNavigate: true,
|
||||
defaultLocale: 'en',
|
||||
},
|
||||
|
||||
render: {
|
||||
|
|
Loading…
Reference in a new issue