Read the statement by Michael Teeuw here.
Default language changed after update
-
Hi!
I updated my MM, after that I have some issues with the language. I prefer Swedish and used this config:
language: “sv”,
locale: “sv-SV”,Worked like a charm, but after update everything is Samian instead of Swedish. If I change to “en” it will be English.
I tried to se if the code changed, but did not find a solution. Doe´s anyone have an idéa whats wrong?
Regards Daniel
-
Hi again, for some magical reason i solved it.
I had a module MMM-jast. Wich is the last one I installed before upgrade. For test, I took a backup of the config without that module.
Everything was in Swedish again, added my config for that module in the backupconfig file. Everything works as before.I can´t point what caused the error, but now it works again. Maybe the file ended up corrupt in the upgrade…
Thanks for your response and time, have a good day!
-
@mrbaloo1337 can you check the ~/MagicMirror/translations/sv.json file
-
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." }
-
@mrbaloo1337 sorry, I don’t understand your response.
is the file good or bad?
what mm version were you on?
-
@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.
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. -
@sdetweil
Sorry missed, it is version 2.28.0 -
@mrbaloo1337 I meant before this release.
-
No issues before upgrade, is it possible to downgrade to previous version?
-
@mrbaloo1337 yes, but, I asked you to tell me what that version was.
I am out of the house for another hour
-
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