-
Notifications
You must be signed in to change notification settings - Fork 30
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
[Feature Request] Add 'Sentence Translation' field #25
Comments
I considered doing this, though I'm not that sure how useful this would be, and there are a few issues with it.
I might still add a way of viewing the sentence translation though -- maybe as a view only field (not exported to Anki, but you can copy the text to definition if need be) |
I personally would find such feature useful, here's a few thoughts why:
A couple of other considerations re: implementation:
If you want this feature request to be minimally intrusive, I can think of:
So you can still have only 1 template and the user won't be bothered by the new field if they haven't checked the option above |
Closing this as mpvacious provides this functionality so it's not worth the dev effort |
Summary
it would be nice to have a new field "Sentence Translation" which would host the whole sentence translation, in addition to the target word translation already provided.
Upon initial card creation, a google translation api will be made for the whole sentence and the output will be captured in the new Sentence Translation field. This field should be made editable so the user can override the machine translation either manually or by copying English subtitles.
Overall this project looks really good, thanks for making it! I think this new feature will be useful in situations where the sentence structure is not obvious and will be useful for #21. Often there are English subtitles available for a show or English translation for a given text, so it would be good to capture that somewhere if required by user
Implementation notes
I think all the backbone for this should already be there, it's literally about adding a new field and utilising the google translate api. Things I can think of:
The text was updated successfully, but these errors were encountered: