Replies: 1 comment
-
|
The same here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to make multilingual @nuxtjs/i18n blog based on Nuxt Content with SSG like that:
Found couple problems. See sample repos links below.
File structure:

ContentDoc problem
If we use
nuxt.config.ts
it is working with only default language.
Child code [id].vue
Even if we provide path:
it is not working.
Renderes only default language and cant see de/gallery/001 or de/gallery/001.
When we don't add content part to
nuxt.config, and hence using route parameter:works nicely.
QueryBuilderParams
If we place locale info into
nuxt.config.ts
Than I expect that following code:
will give me results for every locale. However it works only with default locale.
gives:
Query results are not changed according to locale change.
Code
Project with bug - with locales in content part of nuxt config:
https://github.com/RollingTL/Image-gallery-nuxt3-i18n/tree/test-content-list-renderer
Working project - without locales in content part of nuxt config and dynmyc paths:
https://github.com/RollingTL/Image-gallery-nuxt3-i18n/tree/test-content-no-config
What to know what is correct way of doing multilingual blog/gallery for SSG.
Beta Was this translation helpful? Give feedback.
All reactions