After updating to the latest release of OSMC and using the swedish language and when rebooting i get a sad face and then the language is reverted to english. I tried a fresh reinstall but the same thing happens again.
This sounds strange, are you using OSMC skin? Please enable debug logging and then try again and upload logs afterwards. @grahamh is the “language” expert but while there are some problems with keyboard layouts I don’t expect a language change to cause a crash and maybe @joakim_s can chime in with his Swedish install
My TV is still driven by steam so I can’t test out many of the newer things but in the latest log I see:
03:23:09.382 T:4082459216 DEBUG: trying to set locale to sv_SE.UTF-8
03:23:09.384 T:4082459216 INFO: global locale set to C
followed by:
03:23:15.552 T:3685962496 DEBUG: UpdateMenuLanguage - requesting the menu language of the TV
03:23:15.552 T:3685962496 DEBUG: SetMenuLanguage - language set to 'resource.language.en_gb'
03:23:15.583 T:4082459216 INFO: CLangInfo: loading resource.language.en_gb language information...
03:23:15.586 T:4082459216 DEBUG: trying to set locale to en_AU.UTF-8
03:23:15.586 T:4082459216 INFO: global locale set to C
03:23:15.586 T:4082459216 INFO: CLangInfo: loading resource.language.en_gb language strings...
So is the menu language of your TV Swedish or English? (I’m not clear why it’s trying to set the locale to Australian English but perhaps it chooses them in alphabetical order.)
This doesn’t explain why it fails, but it needs to be clarified.
19:26:41.329 T:3707761408 DEBUG: UpdateMenuLanguage - requesting the menu language of the TV
...
19:26:41.643 T:3707761408 DEBUG: SetMenuLanguage - language set to 'resource.language.en_gb'
...
19:26:42.082 T:4077617744 INFO: CLangInfo: loading resource.language.en_gb language information...
19:26:42.085 T:4077617744 DEBUG: trying to set locale to en_AU.UTF-8
19:26:42.086 T:4077617744 INFO: global locale set to C
19:26:42.087 T:4077617744 INFO: CLangInfo: loading resource.language.en_gb language strings...
Add the following line: deb http://apt.osmc.tv stretch-devel main
Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
Please see if the issue is resolved.
I also recommend you edit /etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.