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-Lunartic

    Scheduled Pinned Locked Moved Education
    266 Posts 30 Posters 476.1k Views 29 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
      pepebc
      last edited by

      Hello, very interesting this module.
      I like Astronomy a lot, and I already have it installed. I have translated it into Spanish: es.json

      {
      "Distance from Earth's core = ": "Distancia desde la Tierra: ",
      "Distance from sun = ": "Distancia desde el Sol: ",
      "The next full moon is ": "Próxima Luna llena ",
      "The next new moon is ": "Próxima Luna nueva: ",
      "The current moon is ": "La fase actual lleva ",
      "The moon is ": "Esta Luna está  ",
      "% illuminated": "% iluminada",
      " days old": " dias transcurridos",
      "New Moon Phase": "Luna Nueva",
      "Waxing Crescent Moon": "Luna Creciente",
      "First Quarter Half Moon": "Primer cuarto de media luna",
      "Waxing Gibbous Moon": "Luna creciente Gibosa",
      "Full Moon": "Luna Llena",
      "Waning Gibbous Moon": "Luna Gibosa menguante",
      "Third Quarter Half Moon": "Tercer cuarto de Media Luna",
      "Waning Crescent Moon": "Luna creciente menguante",
      "When the Moon hits your eye . . .": "Cuando la Luna ilumina tus ojos . . ."
      }
      
      Mykle1M 1 Reply Last reply Reply Quote 2
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @pepebc
        last edited by

        @pepebc said in MMM-Lunartic:

        I have translated it into Spanish: es.json

        Hello, and thank you. I applaud the fact that you made the effort and did the translations. :-)

        I’ve added your translation file to the module. A git pull in the MMM-Lunartic directory will get you the updated files.

        Once again, thanks!

        Peace.

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by Mykle1

          Thanks to user @el97 the module now has Swedish translation.

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by Mykle1

            Download:

            [card:mykle1/MMM-Lunartic]

            Version Update 1.0.3

            Added an option for rotating data. So now the module takes up far less mirror real estate yet you still get the same information. Of course, you can still use the static mode, in which case, the module is visually unchanged.

            Click on the animated gif below for a more pleasing view:

            0_1537320646152_rotating.gif

            Do a git pull in your MMM-Lunartic directory or install as per the readme.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer
              last edited by Mykle1

              Version update 1.0.4

              Fixed the check for “Last full moon was” and "Next full moon is. That was bothering me.

              Added config option for sound of howling wolf when there is a full moon.

              git pull in the MMM-Lunartic directory or install as per the readme
              https://github.com/mykle1/MMM-Lunartic

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by

                Ok, stupid me thought I fixed the issue . . . but didn’t.

                Now it’s fixed!
                git pull in the MMM-Lunartic directory or install as per the readme
                https://github.com/mykle1/MMM-Lunartic

                Create a working config
                How to add modules

                P J 2 Replies Last reply Reply Quote 0
                • P Offline
                  Pr05t3n @Mykle1
                  last edited by

                  @mykle1 Cant get the Swedish translation to show up despite language: “sv”, in config.js
                  Translation sv.json is present in MagicMirror/modules/MMM-Lunartic/translations

                  J Mykle1M 2 Replies Last reply Reply Quote 0
                  • J Offline
                    Johans @Mykle1
                    last edited by

                    @mykle1 thanks for the update.

                    For next update, can you include nl-translations?
                    Here’s the data

                    {
                    "Distance from Earth's core = ": "Afstand vanaf middelpunt Aarde = ",
                    "Distance from sun = ": "Afstand vanaf de Zon = ",
                    "The next full moon is ": "Volgende Volle Maan is ",
                    "The next new moon is ": "Volgende Nieuwe Maan is ",
                    "The current moon is ": "De Huidige Maan is ",
                    "The moon is ": "De Maan is  ",
                    "% illuminated": " % verlicht",
                    " days old": " dagen oud",
                    "New Moon Phase": "Nieuwe Maan Faze",
                    "Waxing Crescent Moon": "Wassende Maancikkel",
                    "First Quarter Half Moon": "Eerste kwartier Halve Maan",
                    "Waxing Gibbous Moon": "Wassende Gibbous Maan",
                    "Full Moon": "Volle Maan",
                    "Waning Gibbous Moon": "Afnemende Gibbous Maan",
                    "Third Quarter Half Moon": "Derde kwartie Halve Maan",
                    "Waning Crescent Moon": "Afnemende Wassende Maan",
                    "When the Moon hits your eye . . .": "Wanneer de Maan zichtbaar is . . ."
                    }
                    
                    
                    Mykle1M 1 Reply Last reply Reply Quote 1
                    • J Offline
                      Johans @Pr05t3n
                      last edited by

                      @pr05t3n You have to add your language reference also in the MMM-Lunartic.js file.
                      See example below. That’s how I did.

                      @mykle1 - correct me if i’m wrong!

                      
                          getTranslations: function() {
                              return {
                                  en: "translations/en.json",
                                  fr: "translations/fr.json",
                                  es: "translations/es.json",
                                  de: "translations/de.json",
                                  nl: "translations/nl.json",
                                  sv: "translations/sv.json"
                                      };
                          },
                      
                      
                      P Mykle1M 2 Replies Last reply Reply Quote 1
                      • P Offline
                        Pr05t3n @Johans
                        last edited by

                        @johans should have done it since it was missing but not in my case. When I start magicmirror it first shows the correct translation for:When the moon hits you eyes but then it goes back to english.
                        Tried to edit the en.json but no better result.

                        1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @Johans
                          last edited by

                          @johans said in MMM-Lunartic:

                          correct me if i’m wrong!

                          You are correct, sir! Good catch! I’ll upload the update in a little while. sv translation is still not working.

                          nl translation is now added thanks to our friend, @johans. :thumbsup:

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @Johans
                            last edited by

                            @johans said in MMM-Lunartic:

                            @mykle1 thanks for the update.
                            For next update, can you include nl-translations?
                            Here’s the data

                            Done!

                            Thank you for contributing the nl translation file.

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 0
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @Pr05t3n
                              last edited by Mykle1

                              @pr05t3n said in MMM-Lunartic:

                              Cant get the Swedish translation to show up despite language: “sv”, in config.js
                              Translation sv.json is present in MagicMirror/modules/MMM-Lunartic/translations

                              Yes. I’m trying to correct that right now but for some reason the module does not like the sv translation file that I currently have. Can you take @Johans nl translation file below and substitute the sv translations for his nl entries? Then kindly post it here and I’ll get it working using your sv.json file. Many thanks!

                              Just the right side of the file. Not the English side.

                              {
                              "Distance from Earth's core = ": "Afstand vanaf middelpunt Aarde = ",
                              "Distance from sun = ": "Afstand vanaf de Zon = ",
                              "The next full moon is ": "Volgende Volle Maan is ",
                              "The next new moon is ": "Volgende Nieuwe Maan is ",
                              "The current moon is ": "De Huidige Maan is ",
                              "The moon is ": "De Maan is  ",
                              "% illuminated": " % verlicht",
                              " days old": " dagen oud",
                              "New Moon Phase": "Nieuwe Maan Faze",
                              "Waxing Crescent Moon": "Wassende Maancikkel",
                              "First Quarter Half Moon": "Eerste kwartier Halve Maan",
                              "Waxing Gibbous Moon": "Wassende Gibbous Maan",
                              "Full Moon": "Volle Maan",
                              "Waning Gibbous Moon": "Afnemende Gibbous Maan",
                              "Third Quarter Half Moon": "Derde kwartie Halve Maan",
                              "Waning Crescent Moon": "Afnemende Wassende Maan",
                              "When the Moon hits your eye . . .": "Wanneer de Maan zichtbaar is . . ."
                              }
                              

                              Create a working config
                              How to add modules

                              P 1 Reply Last reply Reply Quote 0
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer
                                last edited by Mykle1

                                @mykle1 said in MMM-Lunartic:

                                Can you guys also give me these translations?

                                "New Moon - No visible moon": "Your translation here please",

                                and

                                "The last full moon was ": "Your translation here please",

                                Create a working config
                                How to add modules

                                J 1 Reply Last reply Reply Quote 0
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer
                                  last edited by Mykle1

                                  Did some troubleshooting and determined that the sv.json translation file I have is in some way corrupted/not working. How did I determine this? I made a copy of @Johans nl.json translation file and renamed the copy to sv.json. I changed my config language to sv and the file loaded without a problem. So, as soon as @pr05t3n gives me the corrected file I requested above, I’ll add it to the repo.

                                  Again, thanks to @pr05t3n and @Johans for helping out

                                  Create a working config
                                  How to add modules

                                  P 1 Reply Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer
                                    last edited by

                                    Oh cool. I never saw my weather module use another language! When I changed my config language to sv (using the copy mentioned in the previous post) I had both MMM-Lunartic and MMM-BMW-DS in nl. :-)
                                    0_1541733948592_1.png

                                    Create a working config
                                    How to add modules

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      Johans @Mykle1
                                      last edited by

                                      @mykle1 said in MMM-Lunartic:

                                      "
                                      nl translation

                                      “New Moon - No visible moon”: “Nieuwe Maan - Niet zichtbaar”,
                                      "The last full moon was ": “Laatste volle Maan was”,

                                      Thanks for updating this nice module.

                                      Mykle1M 1 Reply Last reply Reply Quote 0
                                      • Mykle1M Offline
                                        Mykle1 Project Sponsor Module Developer @Johans
                                        last edited by

                                        @johans said in MMM-Lunartic:

                                        Thanks for updating this nice module.

                                        You’re welcome, mate. Thanks for helping out. I’ll add these to the nl.json file tonight. Off to work! TGIF!

                                        Create a working config
                                        How to add modules

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          Pr05t3n @Mykle1
                                          last edited by

                                          @mykle1
                                          Partly working actually.
                                          Månen är nu 2 dagar gammal correct
                                          Månen är 4% illuminated(belyst) illuminated is wrong
                                          Waxing crescent moon not ok
                                          Distance from Earth`s core not ok
                                          Distance from sun not ok
                                          Nästa fullmåne är correct
                                          Nästa nymåne är correct

                                          “New Moon - No visible moon”: “Nymåne - Ingen synlig måne”,

                                          and

                                          "The last full moon was ": “Sista fullmånen var”,

                                          I Will come back with answer of your request tomorrow
                                          Thanks for the support

                                          Mykle1M 1 Reply Last reply Reply Quote 0
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @Pr05t3n
                                            last edited by

                                            @pr05t3n

                                            You could have done the translation in the time it took you to write that post. ;-)

                                            Create a working config
                                            How to add modules

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 13 / 14
                                            • First post
                                              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