120 lines
2.6 KiB
JavaScript
120 lines
2.6 KiB
JavaScript
|
|
// @ts-nocheck
|
|
|
|
|
|
export const localeCodes = [
|
|
"en",
|
|
"hu"
|
|
]
|
|
|
|
export const localeLoaders = {
|
|
"en": [{ key: "../locales/en.json", load: () => import("../locales/en.json" /* webpackChunkName: "locale__app_locales_en_json" */), cache: true }],
|
|
"hu": [{ key: "../locales/hu.json", load: () => import("../locales/hu.json" /* webpackChunkName: "locale__app_locales_hu_json" */), cache: true }]
|
|
}
|
|
|
|
export const vueI18nConfigs = [
|
|
|
|
]
|
|
|
|
export const nuxtI18nOptions = {
|
|
"experimental": {
|
|
"localeDetector": "",
|
|
"switchLocalePathLinkSSR": false,
|
|
"autoImportTranslationFunctions": false
|
|
},
|
|
"bundle": {
|
|
"compositionOnly": true,
|
|
"runtimeOnly": false,
|
|
"fullInstall": true,
|
|
"dropMessageCompiler": false
|
|
},
|
|
"compilation": {
|
|
"jit": true,
|
|
"strictMessage": true,
|
|
"escapeHtml": false
|
|
},
|
|
"customBlocks": {
|
|
"defaultSFCLang": "json",
|
|
"globalSFCScope": false
|
|
},
|
|
"vueI18n": "",
|
|
"locales": [
|
|
{
|
|
"code": "en",
|
|
"name": "English",
|
|
"language": "en-US",
|
|
"files": [
|
|
"/app/locales/en.json"
|
|
]
|
|
},
|
|
{
|
|
"code": "hu",
|
|
"name": "Magyar",
|
|
"language": "hu-HU",
|
|
"files": [
|
|
"/app/locales/hu.json"
|
|
]
|
|
}
|
|
],
|
|
"defaultLocale": "hu",
|
|
"defaultDirection": "ltr",
|
|
"routesNameSeparator": "___",
|
|
"trailingSlash": false,
|
|
"defaultLocaleRouteNameSuffix": "default",
|
|
"strategy": "no_prefix",
|
|
"lazy": true,
|
|
"langDir": "locales",
|
|
"detectBrowserLanguage": {
|
|
"alwaysRedirect": false,
|
|
"cookieCrossOrigin": false,
|
|
"cookieDomain": null,
|
|
"cookieKey": "i18n_redirected",
|
|
"cookieSecure": false,
|
|
"fallbackLocale": "",
|
|
"redirectOn": "root",
|
|
"useCookie": true
|
|
},
|
|
"differentDomains": false,
|
|
"baseUrl": "",
|
|
"dynamicRouteParams": false,
|
|
"customRoutes": "page",
|
|
"pages": {},
|
|
"skipSettingLocaleOnNavigate": false,
|
|
"types": "composition",
|
|
"debug": false,
|
|
"parallelPlugin": false,
|
|
"multiDomainLocales": false,
|
|
"i18nModules": []
|
|
}
|
|
|
|
export const normalizedLocales = [
|
|
{
|
|
"code": "en",
|
|
"name": "English",
|
|
"language": "en-US",
|
|
"files": [
|
|
{
|
|
"path": "/app/locales/en.json"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"code": "hu",
|
|
"name": "Magyar",
|
|
"language": "hu-HU",
|
|
"files": [
|
|
{
|
|
"path": "/app/locales/hu.json"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
|
|
export const NUXT_I18N_MODULE_ID = "@nuxtjs/i18n"
|
|
export const parallelPlugin = false
|
|
export const isSSG = false
|
|
|
|
export const DEFAULT_DYNAMIC_PARAMS_KEY = "nuxtI18n"
|
|
export const DEFAULT_COOKIE_KEY = "i18n_redirected"
|
|
export const SWITCH_LOCALE_PATH_LINK_IDENTIFIER = "nuxt-i18n-slp"
|