• 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.

How to resize Icon and Change Day language in WunderGround

Scheduled Pinned Locked Moved General Discussion
18 Posts 4 Posters 9.3k Views 4 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @wizz
    last edited by strawberry 3.141 Mar 12, 2017, 9:18 PM Mar 12, 2017, 9:14 PM

    @wizz the module uses momentjs to create those day abbrevations. maybe you’re missing the moment locales for swedish.

    also the config option lang has no effect at all as it is not used anywhere in the code, maybe it is from an old version. The language which is used for moment js is the global config language.

    Please create a github issue if you need help, so I can keep track

    1 Reply Last reply Reply Quote 0
    • W Offline
      wizz
      last edited by Mar 12, 2017, 9:24 PM

      @strawberry-3-141 the moment locales how do i add that? if it is missing?

      S 1 Reply Last reply Mar 12, 2017, 9:33 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @wizz
        last edited by strawberry 3.141 Mar 12, 2017, 9:34 PM Mar 12, 2017, 9:33 PM

        @wizz The module dependency moment.js gets mapped in the vendor directory to the file moment-with-locales.js and in there is the locale sv. Do the other modules work with swedish language? Is only a part working in swedish? Can you make a screenshot?

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • W Offline
          wizz
          last edited by Mar 13, 2017, 7:36 AM

          @strawberry-3-141 Later on tonight i will try to make a screenshot of that. and hope to get that right :)

          1 Reply Last reply Reply Quote 0
          • W Offline
            wizz
            last edited by Mar 16, 2017, 5:13 PM

            @strawberry-3-141 All Modules work with Swedish but not WunderGround and also the Traffic Module is only in English but the rest works with Swedish?

            1 Reply Last reply Reply Quote 0
            • W Offline
              wizz
              last edited by wizz Mar 16, 2017, 7:47 PM Mar 16, 2017, 7:45 PM

              @strawberry-3-141 The default Weather module display in Swedish but not the Wunderground module ?
              This means that the moment locales works.

              S 2 Replies Last reply Mar 16, 2017, 10:19 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @wizz
                last edited by Mar 16, 2017, 10:19 PM

                @wizz I’ll have a look

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @wizz
                  last edited by Mar 17, 2017, 8:34 AM

                  @wizz Ok I digged a little bit deeper than last time. As it points out the config option in MMM-Wunderground has an usage in the node_helper I didn’t check before. The problem is that Wunderground uses for some languages some uncommon language codes

                  {
                    module: "MMM-WunderGround",
                    position: "top_left",
                    config: {
                      lang: "sw"
                    }
                  }
                  

                  the full list can be found here https://www.wunderground.com/weather/api/d/docs?d=language-support

                  Please create a github issue if you need help, so I can keep track

                  N 1 Reply Last reply Mar 17, 2017, 12:55 PM Reply Quote 1
                  • N Offline
                    nobita @strawberry 3.141
                    last edited by Mar 17, 2017, 12:55 PM

                    @strawberry-3.141 's not work

                    S 1 Reply Last reply Mar 17, 2017, 1:42 PM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @nobita
                      last edited by Mar 17, 2017, 1:42 PM

                      @nobita I get the changed language 0_1489758158504_swedish.PNG

                      Please create a github issue if you need help, so I can keep track

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        13/18
                        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