Skip to content

Learn a word of a language every time you look in the mirror

License

Notifications You must be signed in to change notification settings

elyanm14/MMM-learnlanguage

Repository files navigation

MMM-learnlanguage

Magic Mirror Module for learning a word every time you look in the mirror.

screenshot 1 screenshot 2

Installation

Navigate into your MagicMirror's modules folder and execute 'git clone https://github.com/thekampany/MMM-learnlanguage'

Using the module

This module shows a word of a language you want to learn, alternating with the meaning in english. Train yourself. You will have to learn the grammar of the language somewhere else. This just helps in getting to know a set of commonly used words. The set of commonly used words is stored in a csv file per language.

Config options

optiondescription
languagelanguage: spanish, swedish. has to match the name of the csv file that contains the wordpairs.
nextWordIntervalIn miliseconds. The interval between wordpairs. One word per day = 24*3600*1000. Two words per day is 12*3600*1000
showpairshowboth or alternating

Example configuration to put in config.js

{
	module: "MMM-learnlanguage",
	position: "top_right",
	config: {
		language: "spanish",
		nextWordInterval: 90000, 
                    showpair: "showboth",
  	}
},

ToDo

Use a translation api in order to be able to translate from any to any language. Influence the interval showing foreignlanguage vs ownlanguage (english).

About

Learn a word of a language every time you look in the mirror

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%