You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 in An 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:
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: