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.

    Help Translating Word Clock

    Scheduled Pinned Locked Moved Requests
    66 Posts 10 Posters 48.7k Views 10 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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer @Atteraxol
      last edited by

      @Atteraxol @Sean @strawberry-3-141 @pjkoeleman @willfri There seems to be some disagreement as to which is correct when telling time in German:

      For twenty past the hour (e.g.: 3:20), which of the following is more common (i.e.: if I were to make just one translation, which would be more familiar for most people?)

      Es ist zwanzig nach drei
      - or -
      Es ist zehn vor halb vier

      And similarly for twenty minutes to the hour:

      Es ist zwanzig vor vier
      - or -
      Es ist zehn nach halb vier

      Or does it matter? Are both equally correct?

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @j.e.f.f
        last edited by

        @j.e.f.f both versions are correct. I’m using the first one, not sure if this is more common or a regional thing.

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

        1 Reply Last reply Reply Quote 0
        • A Offline
          Atteraxol
          last edited by

          @j-e-f-f I never heard of the second version so it’s probably not so common. (native German speaker)

          1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer
            last edited by j.e.f.f

            OK I just pushed a fairly significant update. If you are currently using this module, and you would like to use the update, the configuration has changed. Instead of the layout parameter, you now specify the desired language, and your screen orientation. Example:

                {
                  module: "MMM-MyWordClock",
                  position: "fullscreen_above",
                  disabled: false,
                  config: {
                    showClockTimeOut: 1000,
                    langauge: "EN",
                    orientation: "tall" //or "wide"
                  }
                }
            

            The following languages are now supported:

            • EN English (default)
            • DE German
            • DE_CH Swiss German
            • FR French
            • NL Dutch

            The best part of this update is that you can also specify * for the language. This will trigger the clock to pick one of the supported languages at random each time it updates!

            I’m traveling all next week, but in the following week I’ll be adding the following languages:

            • DA Danish
            • ZH Chinese Simplified
            • JA Japanese
            • KO Korean
            • TL Tagalog (Philipino)

            Thanks to everyone for your help!

            1 Reply Last reply Reply Quote 0
            • J Offline
              j.e.f.f Project Sponsor Module Developer @strawberry 3.141
              last edited by

              @strawberry-3.141 I worked your Swiss German layout into the code. I couldn’t do a straight merge as I was also in the middle of re-architecting the code base. But I copied your layout files and modified them to work with the new system. I also rearranged some of the layout to have the words spaced out better. I don’t think I messed up the translation as a result – having spent so much time on the German one helped me understand yours – but when I get a few free seconds, I’ll post screenshots so you can validate.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @j.e.f.f
                last edited by

                @strawberry-3-141 As promised, here are screenshots of the layout integrated, both for the tall and wide layouts. Please let me know if it looks good

                Tall:
                0_1503421081146_DE_CH_tall.jpg

                Wide:
                0_1503421104333_DE_CH_wide.jpg

                1 Reply Last reply Reply Quote 0
                • kruemelK Offline
                  kruemel
                  last edited by kruemel

                  09:40 would be correct:
                  Es isch zwanzg vor zäni

                  12:40 the same:
                  Es isch zwanzg vor eis

                  The rest looks fine :-)

                  By the way (you dont have to change it) but usualy we say “zwänzg” not “zwanzg” ;-)

                  J 1 Reply Last reply Reply Quote 1
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @Lange
                    last edited by

                    @Lange Here is the Danish clock assembled:

                    0_1503459979802_DA.jpg

                    Also, is this contextually correct for 23:45?
                    0_1503460006639_DA_23.45.jpg

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      j.e.f.f Project Sponsor Module Developer @kruemel
                      last edited by

                      @kruemel Thanks. I fixed this, and will be pushing an update shortly.

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        j.e.f.f Project Sponsor Module Developer @Guest
                        last edited by

                        @Sean I’ve got the CJK fonts worked out. I have one question though: Should these be in vertical layout? Typically I’ve laid out the other languages in sequential rows from read left-to-right from the top row down, but it is possible to arrange these in sequential columns, read top-to-bottom from the left column to the right (or even read from right to left). Should that be the case for any of the CJK layouts?

                        ? 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 5 / 7
                        • 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