Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tienisto/nuxt-i18n-bug
https://github.com/tienisto/nuxt-i18n-bug
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tienisto/nuxt-i18n-bug
- Owner: Tienisto
- Created: 2024-05-09T21:28:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-24T14:51:30.000Z (8 months ago)
- Last Synced: 2024-12-07T20:27:58.573Z (about 1 month ago)
- Language: Vue
- Size: 87.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal Reproducible Example
See: https://github.com/nuxt-modules/i18n/issues/2944
Implementation:
1. use `prefix_except_default` or `prefix_and_default`
2. add locale switcher outside of ``
3. build SSG (`nuxt generate` / `pnpm run generate`)Steps to reproduce the issue:
1. Change browser locale to `de-DE` and open the page.
2. It should redirect to `de` version of the page (`http://localhost:3000/de`).
3. Click on `EN` to switch to English version of the page.
4. The error: See that `EN` is disappears (it should not) and also in the console you will see an error: `TypeError: t is null`