MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Making my own translation [solved]

    General Discussion
    tips and tricks tutorial
    4
    10
    4845
    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.
    • R
      Rahansen last edited by paviro

      Hi guys, wanted to give MM2 a shot since I already had a RPI2 gathering dust 😕
      Would really like to have the interface in my native language (Norwegian).
      What would I have to do to use my own translation instead of the other ones?

      1 Reply Last reply Reply Quote 0
      • MichMich
        MichMich Admin last edited by MichMich

        • Copy translations/en.json to translations/no.json.
        • Modify the translations/no.json to Norwegian translations.
        • Add your translation to translations/translations.js.

        And don’t forget to send us a pull request so others can use it as well! 🙂 (Do do this, you need to make a fork of the repository: https://help.github.com/articles/using-pull-requests/)

        R 1 Reply Last reply Reply Quote 1
        • R
          Rahansen @MichMich last edited by

          @MichMich Did all of the above yesterday, the only result I got was that the wind direction notations only showed as small squares. The rest stayed in English. We use a special character for east (Ø), so maybe that had something to do with it?
          I’ll doublecheck everything when I get off from work, might just be I made a mistake somewhere 🙂

          MichMich 1 Reply Last reply Reply Quote 0
          • MichMich
            MichMich Admin @Rahansen last edited by

            I quickly tried using the Ø to see if it would give any problems, but it just works fines. (Tested on both the Raspberry and my Mac).

            R 1 Reply Last reply Reply Quote 1
            • R
              Rahansen @MichMich last edited by

              @MichMich Thanks, got it working fine now. Made a pull request also, might do Swedish and Danish as well as that’s pretty similar to Norwegian : )

              1 Reply Last reply Reply Quote 0
              • prototype0815
                prototype0815 last edited by

                Does Norwegian have some special characters? What I want to solve is that the special characters of Germany are displayed at the “compliments”.

                I tried to change some occurrences of “UTF-8” to “ISO-8859” but this didn’t work.

                I would appreciate it if someone give me an answer in the near future, because the MM is the birthday present to my girlfriend.

                Wilco89 1 Reply Last reply Reply Quote 0
                • Wilco89
                  Wilco89 @prototype0815 last edited by

                  @prototype0815 said in Making my own translation [solved]:

                  UTF-8

                  Probaly you can try: http://www.theegglestongroup.com/writing/special_chars.php

                  prototype0815 2 Replies Last reply Reply Quote 0
                  • prototype0815
                    prototype0815 @Wilco89 last edited by

                    @Wilco89 Thank you, I’ll give it a try this afternoon.

                    1 Reply Last reply Reply Quote 0
                    • prototype0815
                      prototype0815 @Wilco89 last edited by

                      @Wilco89 Hey Wilco89, that works like a charm !! I’m very happy that the first solution proposal works at the firt attempt ! Thank you very much !

                      1 Reply Last reply Reply Quote 0
                      • Wilco89
                        Wilco89 last edited by

                        After years of programming & translations I learned a lot. In my own language (frisian) we do use some of these a lot, and in the other language (Dutch) we don’t use them often.

                        But for every starter it can Be a huge problem to solve this very Tiny issue.

                        I Hope you did finish your translation and Made a PR.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy