-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unable to Retrieve Translations from Duolingo #61
Comments
I've found a manual workaround using Google Translate. It's a bit of a hassle to set up, but the translations can be done in bulk so it's something you could run in batches maybe once or twice a week:
After the import runs you should see a message indicating that There are a few gotchas here, especially around file encoding which can cause accents to get mangled either on export or import, but until a fully automated method is available this is much faster than translating everything manually. |
@rcw5 actually https://ankiweb.net/shared/info/1536291224 does pretty much the same job (inside Anki) without Excel mess ;-) |
Props to @rcw5 and @swa72 for this easy workaround. These are my Google Translate add-on settings for @swa72's method. |
This is actually resolved by a recent fix for #76 . |
Problem
This plugin can no longer automatically provide translations for users' vocabularies, because Duolingo has shut down the services that the plugin used to provide this feature.
At this time, my recommendation is for users to edit in the translations to their cards on their first review.
I recognize that:
Background
Around November 11th, 2022, Duolingo turned off the endpoint that the https://github.com/KartikTalwar/Duolingo library was using to provide translations. See KartikTalwar/Duolingo#125 for more information.
I maintain the AnkiSyncDuolingo plugin, but I am not myself an expert in communicating with the Duolingo servers. I've been relying on third party libraries and API documents to provide this functionality. However, in my searches so far no one has come up with alternate code or APIs to provide this functionality.
Possible Solutions
The following ideas aren't mutually exclusive.
Wait for someone to come up with an alternate way of getting translations from Duolingo.
I'll keep my eye on the linked issue in KartikTalwar's Duolingo library, and other similar projects. If someone comes up with a new way to retrieve translations from Duolingo, then I'll integrate it.
Use Another Service/API For Translations
This one doesn't look feasible to me. The reason that we were able to get translations from Duolingo is because we were relying on the customer/service relationship between the user and Duolingo: the user signed in with their account, and was getting translations from Duolingo based on their relationship with Duolingo.
From my light research, it seems like any other service that the plugin might use would require the user to sign up with a service and potentially pay money.
Just Drop Translation as a Feature
The plugin just might have to effectively drop translation as a feature, saying: "the plugin doesn't have a feasible means to provide translations; that's not a feature of the plugin."
Support User-Provided Tips/Workflows/Tools For Translation
Users might find other Anki plugins, workflows, tips, or tools that help them translate the cards that they import from Duolingo. This plugin could offer some means of sharing those tips/tools among the user community.
As a start, if any users have tips/tools for translating their cards, they can comment on this issue.
Next Steps
I will:
The text was updated successfully, but these errors were encountered: