We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
src
i18n
components/test/Greeting.vue
<template> ... </template> <script> ... </script> <i18n locale="de" src="~/components/test/de.json"></i18n>
components/test/de.json
{ "good_morning": "Guten Morgen" }
** Reproduction**
npx vue-i18n-locale-message squeeze --target=./components/test --output=./messages.json
Error: SyntaxError: Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
The src path for i18n blocks is ignored when squeezing messages, making plugins like i18n-ally not recognize linked JSON files.
i18n-ally
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code
components/test/Greeting.vue
components/test/de.json
** Reproduction**
npx vue-i18n-locale-message squeeze --target=./components/test --output=./messages.json
Error:
SyntaxError: Unexpected end of JSON input
The
src
path for i18n blocks is ignored when squeezing messages, making plugins likei18n-ally
not recognize linked JSON files.The text was updated successfully, but these errors were encountered: