You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
628 B

export default {
locales: [
{
name: 'English',
code: 'en',
iso: 'en-CA',
file: 'en'
},
{
name: '中文',
code: 'zh',
iso: 'zh-CN',
file: 'zh'
},
{
name: 'Français',
code: 'fr',
iso: 'fr-CA',
file: 'fr'
},
{
name: 'Deutsch',
code: 'de',
iso: 'de-DE',
file: 'de'
}
],
lazy: true,
langDir: 'i18n/',
defaultLocale: 'en',
vueI18n: {
fallbackLocale: 'en'
},
detectBrowserLanguage: {
useCookie: true,
cookieKey: 'i18n_redirected',
onlyOnRoot: true // for SEO purposes
}
}