Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Word of the Day Multiple Languages for MagicMirror²

License

NotificationsYou must be signed in to change notification settings

mumblebaj/MMM-WOTD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet another Word of the Day module forMagicMirror². Difference with this one is that you can selectSpanish orPortuguese and some other lamguages. See config section for supported languages.

Platformlicense

Support

If you like my module you can support my work by giving me a star ir buy me a coffee.

Buy Me A Beer

Spanish Example

Example

Portuguese Example

Example

German Example

Example

Dependencies

  • axios@0.27.2
  • cheerio@1.0.0-rc.10

Updates

v1.1.0

  • Source changed and as a result module had to change.
  • Updated module to extract the information from new elements

v1.0.3

  • New URL for English Language.

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/mumblebaj/MMM-WOTD.git
cd MMM-WOTDnpm install

Add the module to the modules array in theconfig/config.js file:

{module:'MMM-WOTD',position:'middle_center',config:{updateInterval:86400000,retryDelay:5000,showExamples:true,showExampleTranslations:true,language:["spanish","german","arabic","dutch"]}},

Configuration options

The following properties can be configured:

OptionDescription
updateIntervalAs this is a "Word of the Day" it is recommended to set the value to 24hrs (86400000)
retryDelayHow long to wait before retry
rotateIntervalInterval at which to roate between languages when multiple languages have been selected
showExamplesIf you would like to see some example usages of the word set this totrue. Default istrue

Possible values:true orfalse
showExampleTranslationsIf you want the example with its English translation set this totrue

Possible values:true orfalse,
languageAn Array of Languages. Which language WOTD would you like? Various Languages supported

Possible values:afrikaans,arabic,bulgarian,dutch,english,filipino,finnish,french,german,greek,hebrew,hindi,hungarian,indonesian,italian,japanese,korean,norwegian,persian,polish,portuguese,romanian,russian,spanish,swahili,swedish,thai,turkish,urdu,vietnamese

Updating

To update the module to the latest version, use your terminal to go to your MMM-WOTD module folder and type the following command:

cd MMM-WOTDgit pullnpm install

About

Word of the Day Multiple Languages for MagicMirror²

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp