-
-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: missing hash query param in load
hook for virtual conf
#2212
Merged
kazupon
merged 1 commit into
nuxt-modules:next
from
userquin:fix-missing-hash-query-param
Jul 8, 2023
Merged
fix: missing hash query param in load
hook for virtual conf
#2212
kazupon
merged 1 commit into
nuxt-modules:next
from
userquin:fix-missing-hash-query-param
Jul 8, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kazupon
approved these changes
Jul 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR!
Oh, I deleted the hash, that was my mistake π
Thanks!
@kazupon still not working, I've been trying to fix the error for 2 days, the PR was in draft |
@userquin |
@kazupon the problem is this: debug output: SSRisSSG false 11:48:43
useCookie on setup false 11:48:43
defautlLocale on setup en-US 11:48:43
detectLocale: initialLocale - en-US 11:48:43
detectLocale: detectBrowserLanguage (browserLocale, stat, reason, from) - false unknown unknown 11:48:43
detectLocale: finaleLocale first (finaleLocale, strategy) - no_prefix 11:48:43
detectLocale: finaleLocale second (finaleLocale, detectBrowserLanguage) - en-US false 11:48:43
detectLocale: finalLocale last (finalLocale, defaultLocale) - en-US en-US 11:48:43
detectLocale: finalLocale - en-US 11:48:43
first detect initial locale en-US 11:48:43
final initial locale: en-US 11:48:43
locale-changing middleware { 11:48:43
fullPath: '/_nuxt/@id/__x00__@nuxtjs/i18n/null',
hash: '',
query: {},
name: undefined,
path: '/_nuxt/@id/__x00__@nuxtjs/i18n/null',
params: {},
matched: [],
meta: {},
redirectedFrom: undefined,
href: '/_nuxt/@id/__x00__@nuxtjs/i18n/null'
} {
fullPath: '/_nuxt/@id/__x00__@nuxtjs/i18n/null',
path: '/_nuxt/@id/__x00__@nuxtjs/i18n/null',
query: {},
hash: '',
name: undefined,
params: {},
matched: [],
meta: {},
redirectedFrom: undefined,
href: '/_nuxt/@id/__x00__@nuxtjs/i18n/null'
} Configuration// nuxt.config.ts
i18n: {
locales: availableLocales,
lazy: true,
strategy: 'no_prefix',
detectBrowserLanguage: false, /* { fallbackLocale: 'en-US',
useCookie: false,
} */
langDir,
defaultLocale: 'en-US',
types: 'composition',
pages: undefined,
dynamicRouteParams: false,
skipSettingLocaleOnNavigate: true,
debug: true,
vueI18n: './config/i18n.config.ts',
}, // ./config/i18n.config.ts
import { availableLocales, datetimeFormats, numberFormats, pluralRules } from './i18n'
export default {
legacy: false,
availableLocales: availableLocales.map(l => l.code),
fallbackLocale: 'en-US',
fallbackWarn: true,
pluralRules,
datetimeFormats,
numberFormats,
globalInjection: true,
missingWarn: true,
} |
DarthGigi
pushed a commit
to DarthGigi/i18n
that referenced
this pull request
Apr 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π Linked issue
#2211
β Type of change
π Description
Resolves #2211
π Checklist