Better way to learn your words from Google Translate. Everything works without any local server.
Learn methods:
- dictionary list
- random word
- guess word
# install dependencies
npm install
# build for production with minification
npm run build
# run app with electron without creating package
npm run electron
# build app for Windows .exe file
npm run package-win
# build app for Linux
npm run package-linux
# build app for Mac
npm run package-mac
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
You have two options for that. In First way you have to change static/js/database.js
before build. The next way is after created package go to dist_electron/package_name/resources/dist/static/js/database.js
.
window.database = [
["english", "polish", "do", "robić"]
]
- Go to https://translate.google.com.
- Click on saved (star on the bottom).
- Then click export to Google Sheets.
- In Google Sheets download sheet as CSV.
- Convert to JSON Array. For example here: https://www.convertcsv.com/csv-to-json.htm.
- Put JSON Array into window.database variable.
- Electron
- Vue 2.x
- Vuex
- Vuetify
- Vue-router
Icon: https://www.flaticon.com/free-icon/translate_2991142
Icons made by Freepik from https://www.flaticon.com.