Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot work with i18n Single File Components #54

Closed
kgrandemange opened this issue Aug 9, 2019 · 2 comments
Closed

Cannot work with i18n Single File Components #54

kgrandemange opened this issue Aug 9, 2019 · 2 comments

Comments

@kgrandemange
Copy link

setup (props, context) cannot work with i18n Single File Compoents, because root.$t is defined but can't find the string key.
Works in template and works with global en.json file.

@liximomo liximomo added the enhancement New feature or request label Aug 10, 2019
@antfu
Copy link
Member

antfu commented Jun 21, 2020

@kgrandemange Can you try this workaround? #21 (comment)

BTW, you can also want to have a look at vue-i18n-next :)

@antfu antfu added ecosystem and removed enhancement New feature or request labels Jun 23, 2020
@antfu
Copy link
Member

antfu commented Sep 12, 2020

Closing this for now as it's probably been covered by the latest version of vue-i18n

@antfu antfu closed this as completed Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants