You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to fetch navigation content in the French language from a Vue component, the expected result should be content returned in French (fr). However, the content is being returned in the default language (English) instead of the specified French language.
Additional context
It would be greatly appreciated if you could provide documentation on integrating @nuxt/i18n with @nuxt/content. This guidance would be invaluable for developers looking to leverage both modules effectively in their projects.
Logs
No response
The text was updated successfully, but these errors were encountered:
jxk-developer
changed the title
Navigation Content Returns Default Language Instead of Specified Language
Navigation content returns default language instead of specified language
Feb 16, 2024
Environment
Reproduction
Vue component file:
[...slug].vue
Code snippet attempting to fetch French navigation content:
Expected Outcome: The navigation data should be in French.
Actual Outcome: The navigation data is returned in the default language (English).
Link to reproduce: https://stackblitz.com/edit/nuxt-starter-aww5hu?file=pages%2F%5B...slug%5D.vue
Describe the bug
Configuration
nuxt.config.ts
Problem Description
When attempting to fetch navigation content in the French language from a Vue component, the expected result should be content returned in French (fr). However, the content is being returned in the default language (English) instead of the specified French language.
Additional context
It would be greatly appreciated if you could provide documentation on integrating @nuxt/i18n with @nuxt/content. This guidance would be invaluable for developers looking to leverage both modules effectively in their projects.
Logs
No response
The text was updated successfully, but these errors were encountered: