Bugzilla – Bug 15075
Language selected in installer isn't used for SBS
Last modified: 2009-12-23 02:15:00 UTC
When installing Squeezeserver i get a question about install language, I run Swedish Windows 7 but prefer English in Squeezeserver so i choose English but the Squeezeserver controlpanel is in Swedish anyway! The same on my Squeezebox Classic (Swedish) and Squeezebox Boom (Swedish) but the Squeezebox Radio has the correct Language (English). Strange?! I attach my server log. /Hans
Created attachment 6286 [details] server.log server.log
Correction mixed language on Squuezebox Radio to, both Swedish and English!
*** This bug has been marked as a duplicate of bug 15010 ***
(In reply to comment #3) > *** This bug has been marked as a duplicate of bug 15010 *** This part of the bug remains: "When installing Squeezeserver i get a question about install language, I run Swedish Windows 7 but prefer English in Squeezeserver so i choose English but the Squeezeserver controlpanel is in Swedish anyway!"
Created attachment 6287 [details] Wrong language, I selected English at installation Wrong language, I selected English at installation
added a picture of squeezebox server control window.
The Control Panel is pulling it's language from the system, not from a preference during install. While SBS is properly changing bases on pref file, the SBS Control Panel will always be system default.
QA - can you reproduce this? IMHO this is working as designed. I changed the subject back again, as it didn't describe what the reporter is seeing. It's not about the CP only, but the server too. This most likely is the case when the installer doesn't write the correct language to the initial prefs file or that prefs file isn't read by the server/CP. > While SBS is properly changing bases on pref file, the SBS Control > Panel will always be system default. James - is this your experience or your understanding how it works? The CP should read the language setting from the prefs file as the server too. $language ||= getPref('language') || $os->getSystemLanguage(); ...which means $language will be set to the 'language' preference, or if this fails, the system's language. Hans - are you using any non-default folder for the settings too?
Changed the target until we have a clear idea of what to fix.
(In reply to comment #8) > QA - can you reproduce this? IMHO this is working as designed. > > I changed the subject back again, as it didn't describe what the reporter is > seeing. It's not about the CP only, but the server too. This most likely is the > case when the installer doesn't write the correct language to the initial prefs > file or that prefs file isn't read by the server/CP. > > > While SBS is properly changing bases on pref file, the SBS Control > > Panel will always be system default. > > James - is this your experience or your understanding how it works? The CP > should read the language setting from the prefs file as the server too. > > $language ||= getPref('language') || $os->getSystemLanguage(); > > ...which means $language will be set to the 'language' preference, or if this > fails, the system's language. > > Hans - are you using any non-default folder for the settings too? If this is working "as designed" why do you have an option to choose language, and that option isn't working? And I have to select language AGAIN in Squeezeserver?!. I use ordinary settings. Are you thinking about something specific? /Hans
> If this is working "as designed" why do you have an option to choose > language, > and that option isn't working? And I have to select language AGAIN in > Squeezeserver?!. With "as designed" I wanted to say it's working for me as you expect it to work. If it doesn't work for you, then we have to understand why. > I use ordinary settings. Are you thinking about something specific? You didn't change path for the server.prefs file?
(In reply to comment #11) > > If this is working "as designed" why do you have an option to choose > > language, > > and that option isn't working? And I have to select language AGAIN in > > Squeezeserver?!. > > With "as designed" I wanted to say it's working for me as you expect it to > work. If it doesn't work for you, then we have to understand why. > > > I use ordinary settings. Are you thinking about something specific? > > You didn't change path for the server.prefs file? I have Swedish Language in Windows 7. But i prefer to have Squeezeserver (incl controlpanel in English). I understand that you follow the languagesetting that my OS is using. But this causes mixed languages in diffrent places in Windows where i control my players. Squeezeserver Controlpanel = Swedish Squeezeserver web interface = English Do you understand what I mean? I think that the choice of the installation will apply on all different ways to control the SqueezeCenter Server /Hans
> Squeezeserver Controlpanel = Swedish > Squeezeserver web interface = English That shouldn't happen. For whatever reason they're not using the same setting. Because I can't reproduce this, this bug is assigned to QA to find a reproducible case. Could you please post the paths section of the Settings/Information page? Plus the registry values stored in HKLM/Software/Logitech/Squeezebox/?