translation in single file component <i18n></i18n> doesn't work
Open
- Dominant language
- TypeScript
- Stars
- 204
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Translation in single file components doesn't work for me.
```
{{ $t('hello', {name:'Peter'}) }}
{
"en": {
"hello": "Hola {name}"
},
"es": {
"hello": "Hello {name} "
}
}
```
Also I have tried with:
``
But it didn't work for me either...
Has anyone been able to get it to work?
**My environment:**
_Node 18.7.0
"@intlify/nuxt3": "^0.2.3"
"nuxt": "3.0.0-rc.6"_
Contributor guide
Assessment
This issue has not been assessed yet.