-
-
Notifications
You must be signed in to change notification settings - Fork 380
Open
Labels
Status: Review NeededRequest for review commentsRequest for review comments
Description
Reporting a bug?
<i18n-t> does not (only with workaround) scope local.
Opened nuxt-modules/i18n#3885 first. But could be reproduced with vue-i18n only.
Expected behavior
<i18n-t /> should support scope local.
calling useI18n() (without useScope: "local" btw) should not change the behaviour.
Reproduction
Full minimal reproduction: (with nuxt)
Relevant part with vue-i18n only:
https://stackblitz.com/edit/vitejs-vite-tarvqq6x?file=src%2FTestComponent.vue
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 20.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@intlify/unplugin-vue-i18n: ^1.0.1 => 1.0.1
@vitejs/plugin-vue: ^4.2.3 => 4.3.4
vite: ^4.4.9 => 4.4.9
vue: ^3.3.4 => 3.3.4
vue-i18n: ^9.3.0 => 9.3.0
vue-tsc: ^1.8.8 => 1.8.10Screenshot
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussions
Metadata
Metadata
Assignees
Labels
Status: Review NeededRequest for review commentsRequest for review comments