4000 Essential English Words with google translate

Language/English

This deck base is 4000 Essential English Words (all books) [en-en] : https://ankiweb.net/shared/info/1104981491

I modified the template. I removed langki. Two buttons were added to translate the meaning and example sentences.

The translation uses Google Translate, so an internet connection is required.

Setting the desired language:

On PC desktop anki: Open a card that uses the Card 1 template. There is edit at the bottom. Cards in the top menu bar. This is the template editor. Here you need to select the back template. At the very beginning of the template you can set the desired language:

// ==== CONFIGURATION ====
// Set the target language for translations here.
// Example: "hu" = Hungarian, "de" = German, "fr" = French, etc.
let targetLang = "hu";
// ====================

You need the code of the desired language here. Replace "hu" to code with your language. The codes can be viewed here: https://developers.google.com/workspace/admin/directory/v1/languages

Save template and reload decks. If you don't see the above code for the back template, then you didn't open the Card 1 template. There were about 200 words in the deck that used a different template. But that can only happen if you're already at the extra words. Open a card from book 1 instead.

Update: I added another google translate api request. It may be more accurate than the previous one, but unfortunately it still doesn't reach the capabilities of the paid or web version, because it uses a language model. But I think it's good so that you don't have to copy the text all the time and it's somewhat understandable.

0 Cards
0 Likes
0 Rating
0 Downloads