• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-NOAA - Another Weather Module

Scheduled Pinned Locked Moved System
690 Posts 77 Posters 2.3m Views 70 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    Peter
    last edited by Jan 23, 2018, 3:55 PM

    After every update of MMM-NOAA the current weather is back in english again.
    Translation of the current weather is not in the Dutch translation file.
    Any idea how to fix this definitely?
    Peter

    M 1 Reply Last reply Jan 23, 2018, 8:30 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Peter
      last edited by Jan 23, 2018, 8:30 PM

      @Peter said in MMM-NOAA - Another Weather Module:

      Any idea how to fix this definitely?

      Isn’t the nl.json file Dutch translations? If not, you can help. How does that sound? :-)

      • Take any one of the translation files that you find in the tranaslations folder of the MMM-NOAA folder.

      • Make a copy of the file and rename the copy

      • Edit the copy . Don’t edit the left side which are the English words.

      • Edit the right side words so that they are the correct translations in Dutch for English words on the left side.

      • Save the file and submit it to the author

      Create a working config
      How to add modules

      P 1 Reply Last reply Jan 23, 2018, 8:49 PM Reply Quote 0
      • P Offline
        Peter @Mykle1
        last edited by Jan 23, 2018, 8:49 PM

        @Mykle1 thanks.
        I did something like that.
        This part is missing in the nl.json:

        "OVERCAST": "Overcast",
        "CLOUDY": "Cloudy",
        "RAIN": "Rain",
        "CLEAR": "Clear",
        "PARTLY_CLOUDY": "Partly Cloudy",
        

        So, I copied this from the en.json, pasted it in the nl.json and translated the right side, like this:

        
        "OVERCAST": "Grotendeels bewolkt",
        "CLOUDY": "Bewolkt",
        "RAIN": "Regen",
        "CLEAR": "Helder",
        "PARTLY_CLOUDY": "Gedeeltelijk bewolkt",
        

        After restarting MM it shows: Overcast …
        Strange about this: in the older version of NOAA the same part is missing in nl.json, but the translation is ok.
        So I presume the translation is somewhere else …
        Peter

        T 1 Reply Last reply Jan 23, 2018, 9:25 PM Reply Quote 0
        • T Offline
          tbbear Module Developer @Peter
          last edited by Jan 23, 2018, 9:25 PM

          @Peter Hello Peter, i found the Problem since a few Versions of NOAA the translation comes directly from wunderground and during the last Change from @cowboysdude he made a small mistake. We will fix this soon.

          Robert the Bear

          P M N 3 Replies Last reply Jan 23, 2018, 9:27 PM Reply Quote 0
          • P Offline
            Peter @tbbear
            last edited by Jan 23, 2018, 9:27 PM

            @tbbear great!
            Thanks!
            Peter

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @tbbear
              last edited by Jan 23, 2018, 9:29 PM

              @tbbear said in MMM-NOAA - Another Weather Module:

              translation comes directly from wunderground

              Oh, this I did not know. Thanks for the info, Robert.

              @Peter I am sure he will correct it soon enough

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • N Offline
                Nilnik Project Sponsor @tbbear
                last edited by Jan 23, 2018, 9:49 PM

                @tbbear If you put lang: and your languagecode from Wunderground in MMM-NOAA:s config in my case SW for Sweden
                it works.

                T 1 Reply Last reply Jan 23, 2018, 10:11 PM Reply Quote 0
                • T Offline
                  tbbear Module Developer @Nilnik
                  last edited by Jan 23, 2018, 10:11 PM

                  @Nilnik Hi, the problem is only in the latest version.

                  @ALL The problem is fixed , please do ur git pull in MMM-NOAA

                  Robert the Bear

                  1 Reply Last reply Reply Quote 1
                  • D Offline
                    Desaydrone
                    last edited by Jan 24, 2018, 10:44 AM

                    Hello,

                    I try to config this module, but i have some error when launching

                    0|mm       | App threw an error during load
                    0|mm       | Error: Cannot find module 'google-translate-api'
                    0|mm       |     at Module._resolveFilename (module.js:455:15)
                    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                    0|mm       |     at Function.Module._load (module.js:403:25)
                    0|mm       |     at Module.require (module.js:483:17)
                    0|mm       |     at require (internal/module.js:20:19)
                    0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:9:19)
                    0|mm       |     at Module._compile (module.js:556:32)
                    0|mm       |     at Object.Module._extensions..js (module.js:565:10)
                    0|mm       |     at Module.load (module.js:473:32)
                    0|mm       |     at tryModuleLoad (module.js:432:12)
                    0|mm       | Whoops! There was an uncaught exception...
                    0|mm       | { Error: Cannot find module 'google-translate-api'
                    0|mm       |     at Module._resolveFilename (module.js:455:15)
                    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                    0|mm       |     at Function.Module._load (module.js:403:25)
                    0|mm       |     at Module.require (module.js:483:17)
                    0|mm       |     at require (internal/module.js:20:19)
                    0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:9:19)
                    0|mm       |     at Module._compile (module.js:556:32)
                    0|mm       |     at Object.Module._extensions..js (module.js:565:10)
                    0|mm       |     at Module.load (module.js:473:32)
                    0|mm       |     at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
                    
                    

                    Di i made some mistake ? I never need google translate since now

                    D 1 Reply Last reply Jan 24, 2018, 10:47 AM Reply Quote 0
                    • D Offline
                      Desaydrone @Desaydrone
                      last edited by Jan 24, 2018, 10:47 AM

                      @Desaydrone said in MMM-NOAA - Another Weather Module:

                      google-translate-api

                      Sorry i found my mistake, i forgot “npm install” :( Sorry

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 25
                      • 26
                      • 27
                      • 28
                      • 29
                      • 68
                      • 69
                      • 27 / 69
                      27 / 69
                      • First post
                        267/690
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy