forked from Ivasoft/geovisio-website
Restore Czech translation and default to English
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
@@ -4,6 +4,7 @@ import fr from '../locales/fr.json'
|
||||
import en from '../locales/en.json'
|
||||
import hu from '../locales/hu.json'
|
||||
import pt from '../locales/pt.json'
|
||||
import cs from '../locales/cs.json'
|
||||
const { cookies } = useCookies()
|
||||
|
||||
const locale = cookies.get('lang')
|
||||
@@ -12,11 +13,12 @@ const locale = cookies.get('lang')
|
||||
|
||||
const i18n = createI18n({
|
||||
locale,
|
||||
fallbackLocale: 'fr',
|
||||
fallbackLocale: 'en',
|
||||
warnHtmlMessage: false,
|
||||
globalInjection: true,
|
||||
legacy: false,
|
||||
messages: {
|
||||
cs,
|
||||
fr,
|
||||
en,
|
||||
hu,
|
||||
|
||||
Reference in New Issue
Block a user