codegrue / auto-translate-json

Automatically translates JSON language files to other languages using Google Translate
https://marketplace.visualstudio.com/items?itemName=JeffJorczak.auto-translate-json
Other
32 stars 9 forks source link

Cannot get this to work (using DeepL API Free) #59

Open codeflorist opened 2 months ago

codeflorist commented 2 months ago

This look really handy. Many thanks for creating this!

Unfortunately i cannot seem to get it to work.

I have a DeepL API Free account and entered the API key unter extension setting Deep LFree Secret Key.

Then i have two files in a folder:

en.json with the following content:

{
    "monday": "Monday"
}

de.json with the following content:

{}

When i right-click on en.json and choose Auto Translate JSON from the context-menu, then choose the default on the two following questions, an info-message is immediately displayed saying: AutoTranslateJSON: Translations have been added to the file. But de.json is still an empty object and no translations have taken place.

emvaized commented 2 months ago

I have the same problem, but for me only the keys are added, and value for each key is just an empty string

Errors in developer console:

Errors in console