Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stanislawfortonski/lang-dictionary
Better way to learn your words from Google Translate.
https://github.com/stanislawfortonski/lang-dictionary
dictionary dictionary-learning google google-sheets google-translate google-translator lang-dictionary language languages translate vocabulary
Last synced: 6 days ago
JSON representation
Better way to learn your words from Google Translate.
- Host: GitHub
- URL: https://github.com/stanislawfortonski/lang-dictionary
- Owner: stanislawfortonski
- License: mit
- Created: 2021-03-22T18:23:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-30T19:16:04.000Z (almost 4 years ago)
- Last Synced: 2025-01-08T17:58:59.554Z (7 days ago)
- Topics: dictionary, dictionary-learning, google, google-sheets, google-translate, google-translator, lang-dictionary, language, languages, translate, vocabulary
- Language: JavaScript
- Homepage:
- Size: 400 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lang Dictionary
Better way to learn your words from Google Translate. Everything works without any local server.Learn methods:
- dictionary list
- random word
- guess word## Setup
### Setup for desktop``` bash
# 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```
### Setup for web browser
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build
```## Adding words to your database
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`.### Manualy
```jswindow.database = [
["english", "polish", "do", "robić"]
]```
### Google Translate
1. Go to https://translate.google.com.
2. Click on saved (star on the bottom).
3. Then click export to Google Sheets.
4. In Google Sheets download sheet as CSV.
5. Convert to JSON Array. For example here: https://www.convertcsv.com/csv-to-json.htm.
6. Put JSON Array into window.database variable.## Libraries
- Electron
- Vue 2.x
- Vuex
- Vuetify
- Vue-router## Assets
Icon: https://www.flaticon.com/free-icon/translate_2991142Icons made by [Freepik](https://www.freepik.com) from [https://www.flaticon.com](www.flaticon.com).