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

Making my own translation [solved]

Scheduled Pinned Locked Moved General Discussion
tips and trickstutorial
10 Posts 4 Posters 5.9k Views 3 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.
  • R Offline
    Rahansen
    last edited by paviro May 13, 2016, 12:12 PM May 13, 2016, 1:30 AM

    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
    • M Offline
      MichMich Admin
      last edited by MichMich May 13, 2016, 8:55 AM May 13, 2016, 8:55 AM

      • 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 May 13, 2016, 12:53 PM Reply Quote 1
      • R Offline
        Rahansen @MichMich
        last edited by May 13, 2016, 12:53 PM

        @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 :)

        M 1 Reply Last reply May 13, 2016, 2:13 PM Reply Quote 0
        • M Offline
          MichMich Admin @Rahansen
          last edited by May 13, 2016, 2:13 PM

          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 May 19, 2016, 9:49 PM Reply Quote 1
          • R Offline
            Rahansen @MichMich
            last edited by May 19, 2016, 9:49 PM

            @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
            • P Offline
              prototype0815
              last edited by Jun 8, 2016, 6:58 AM

              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.

              W 1 Reply Last reply Jun 8, 2016, 7:43 AM Reply Quote 0
              • W Offline
                Wilco89 @prototype0815
                last edited by Jun 8, 2016, 7:43 AM

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

                UTF-8

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

                P 2 Replies Last reply Jun 8, 2016, 8:26 AM Reply Quote 0
                • P Offline
                  prototype0815 @Wilco89
                  last edited by Jun 8, 2016, 8:26 AM

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

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    prototype0815 @Wilco89
                    last edited by Jun 9, 2016, 5:04 AM

                    @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
                    • W Offline
                      Wilco89
                      last edited by Jun 9, 2016, 6:29 AM

                      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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy