-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Can't create new language #115
Comments
I found the problem.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to add a new language, I get the error "Unexpected end of JSON input".
I have an English source and a German translation in en.json and de.json files. Running the following command works fine. When I modify a string in English, it updates it in German.
npx json-autotranslate -i src/localization/locales --directory-structure ngx-translate -s deepl-free -c abc:fx
Now I want a slovakian translation. I created an empty sk.json file and ran the command again, resulting in the
Unexpected end of JSON input
error. When I add{}
to the sk.json file, it gets a bit further but results inAn error has occurred: Expected identifier but "{" found.
.Am I doing something wrong? How do I add a new language?
The text was updated successfully, but these errors were encountered: