It automatically takes From the "Word" field in Anki editor
and makes a audio using Sound of Text API and places it in "Word Audio"
While also taking from the "Word" field it creates a translation using a Google Translate API
to create a English translation and places it in the most recently clicked on field!!!
ALL fields are changeable in config // If i doesn't work make sure it matches your field exactly !!!SPACES MESS IT UP!!!
As well as the Languages translated // You can Change which languages it translates into by changing "en" to another languages Abbreviation
// If you want to change the source language as well then change "ja" to the Abbreviation of the language your learning
// OH and VERY IMPORTANT If you want to change the source language MAKE SURE TO CHANGE THE VOICE to do that reference from this list
https://soundoftext.com/docs#index // Its under Supported Voices
UPDATE!!!!
After a request i changed it so the translation and audio creating button would be in separate buttons
I have also changed it so the translation will now go into most recently clicked on field so
the config should now look like this
}
"audio_field": "Word Audio",
"sentence_field": "Word",
"translation_source_language": "ja",
"translation_target_language": "en",
"voice": "ja-JP"
}
If it gives you a translation error (HTTP 429) I used a free key ,cause i'm a Brokie, so it cant handle much so it will be down during high usage
If you need anymore help you can just message me on X and ill try to help maybe...