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.

    Default language changed after update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 2 Posters 1.3k Views 2 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.
    • M Offline
      mrbaloo1337
      last edited by

      Hi,

      This is what that file contains. Seems to be the only thing that is correct translated. Anything else will be in Sami.
      If I check in the translation file the row for Swedish is: “sv: “translations/sv.json”, // Svenska”

      {
      	"LOADING": "Laddar …",
      
      	"DAYBEFOREYESTERDAY": "",
      	"YESTERDAY": "I går",
      	"TODAY": "I dag",
      	"TOMORROW": "I morgon",
      	"DAYAFTERTOMORROW": "I övermorgon",
      	"RUNNING": "Slutar",
      	"EMPTY": "Inga kommande händelser.",
      	"WEEK": "Vecka {weekNumber}",
      
      	"N": "N",
      	"NNE": "NNO",
      	"NE": "NO",
      	"ENE": "ONO",
      	"E": "Ö",
      	"ESE": "OSO",
      	"SE": "SO",
      	"SSE": "SSO",
      	"S": "S",
      	"SSW": "SSV",
      	"SW": "SV",
      	"WSW": "VSV",
      	"W": "V",
      	"WNW": "VNV",
      	"NW": "NV",
      	"NNW": "NNV",
      
      	"FEELS": "Känns som {DEGREE}",
      
      	"UPDATE_NOTIFICATION": "MagicMirror² uppdatering finns tillgänglig.",
      	"UPDATE_NOTIFICATION_MODULE": "Uppdatering finns tillgänglig av {MODULE_NAME} modulen.",
      	"UPDATE_INFO_SINGLE": "Denna installation ligger {COMMIT_COUNT} commit steg bakom {BRANCH_NAME} grenen.",
      	"UPDATE_INFO_MULTIPLE": "Denna installation ligger {COMMIT_COUNT} commits steg bakom {BRANCH_NAME} grenen."
      }
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @mrbaloo1337
        last edited by

        @mrbaloo1337 sorry, I don’t understand your response.

        is the file good or bad?

        what mm version were you on?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 2 Replies Last reply Reply Quote 0
        • M Offline
          mrbaloo1337 @sdetweil
          last edited by mrbaloo1337

          @sdetweil
          Sorry, it looks good as far as I can see. I the texts in that file is the only workning translations. For example:
          “FEELS”: “Känns som {DEGREE}”,

          That´s a correct translation and works in Weather module, but weekdays is in Sami. See picture below.
          Capture.PNG

          That´s the same problem for every module. Hope you understand what I mean :)
          I think that the connection to “sv” is broken and points to Sami instead of Swedish.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mrbaloo1337 @sdetweil
            last edited by

            @sdetweil
            Sorry missed, it is version 2.28.0

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @mrbaloo1337
              last edited by

              @mrbaloo1337 I meant before this release.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                mrbaloo1337 @sdetweil
                last edited by

                @sdetweil

                No issues before upgrade, is it possible to downgrade to previous version?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @mrbaloo1337
                  last edited by

                  @mrbaloo1337 yes, but, I asked you to tell me what that version was.

                  I am out of the house for another hour

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    mrbaloo1337 @sdetweil
                    last edited by

                    @sdetweil

                    I wrote that earlier, it is 2.28.0.

                    No worries, if you have any suggestions to my problem I will wait :)
                    On Saturday I leave for vacation so I hope it will be solved until that, otherwise I can´t sleep

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @mrbaloo1337
                      last edited by

                      @mrbaloo1337
                      2.28.0 is the current release number
                      I want to know what version you were running prior to this one

                      if you upgraded with my upgrade script, you can look in the log file
                      ~/MagicMirror/installers/upgrade.log

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mrbaloo1337
                        last edited by

                        I was running on 2.27.0
                        As far as I found out Sami is listed as “SE” and Swedish is “SV” in the ISO list for language. If that is for any help?

                        This is the log file:

                        
                        Upgrade started - Wed Jul  3 13:27:27 CEST 2024
                        system is Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
                        doing test run = true, NO updates will be applied!
                        the os is Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
                        Check current Node installation ...
                        Node currently installed. Checking version number.
                        Minimum Node version: v20.9.0
                        Installed Node version: v20.8.0
                        Node should be upgraded.
                        Node.js upgrade defered, doing test run
                        Check current NPM installation ...
                        NPM currently installed. Checking version number.
                        Minimum npm version: V10.1.0
                        Installed npm version: V10.1.0
                        No npm upgrade necessary.
                        
                        saving custom.css
                        remote name = origin
                        upgrading from version 2.27.0 to 2.28.0
                        fetching latest revisions
                        git fetch rc=0
                        current branch = master
                        On branch master
                        Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
                          (use "git pull" to update your local branch)
                        
                        Changes not staged for commit:
                          (use "git add <file>..." to update what will be committed)
                          (use "git restore <file>..." to discard changes in working directory)
                        	modified:   package-lock.json
                        
                        Untracked files:
                          (use "git add <file>..." to include in what will be committed)
                        	icscalender/
                        	run-start.sh
                        
                        no changes added to commit (use "git add" and/or "git commit -a")
                        there are 1 local files that are different than the master repo
                        
                           package-lock.json
                        
                        save/restore files selection = n
                        restoring package-lock.json from repo
                        skipping restore for package-lock.json, doing test run
                        test merge result rc='' , if empty, no conflicts
                        skipping merge, only test run
                        
                        Checking for modules with removed libraries
                        downloading dumpactivemodules script
                        
                        
                        updating dependencies for active modules with package.json files
                        
                        	processing for module MMM-MQTT please wait
                        
                        	----------------------------------
                        
                        	skipped processing for MMM-MQTT, doing test run
                        
                        	processing complete for module MMM-MQTT
                        
                        	processing for module MMM-CalendarExt3 please wait
                        
                        	----------------------------------
                        
                        	skipped processing for MMM-CalendarExt3, doing test run
                        
                        	processing complete for module MMM-CalendarExt3
                        restoring custom.css
                        removing git alias
                        Upgrade ended - Wed Jul  3 13:27:53 CEST 2024
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • 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