Bugzilla – Bug 636
Change name of web interface
Last modified: 2005-08-08 11:21:40 UTC
This really is trivial, but it's worth mentioning nontheless. When you have loads of applications open in Windows, the text in the Taskbar gets truncated. As such, all I can currently see in the Windows Taskbar is "Welcom...". Would it not make sense to change the HTML TITLE from "Welcome to Squeezebox" to "Squeezebox" ? That way no matter how it was truncated it would be easier to find the right window (very few apps start with "Squ...". Jim
FWIW, you can make the change on your local machine by modifying the file strings.txt. Look for the entry for WELCOME_TO_SQUEEZEBOX and modify the English string that follows it.
or even creating a files called slimserver-strings.txt which wouldnt' be overwritten during upgrades. it takes precedence over strings.txt for any entries you want to alter. Just copy the WELCOME_TO_SQUEEZEBOX (seems to be WELCOME_TO_SLIMSERVER for the 5.4 pre-release) section, and change the text to be how you want it. this coudl probably be closed since this is already a readily customisable option.
I can't seem to get this to work. I've created a file /usr/local/slimserver/slimserver-strings.txt and given it the same owner/permissions as strings.txt. I've restarted the daemon. No change :-( My file contains: WELCOME_TO_SQUEEZEBOX DE Willkommen bei Squeezebox DK Velkommen til Squeezebox EN Squeezebox ES Bienvenido al Squeezebox FI Squeezebox Tervetuloa! FR Bienvenue sur la Squeezebox IT Benvenuto a Squeezebox NL Welkom bij Squeezebox NO Velkommen til Squeezebox PT Bem-vindo ao Squeezebox SE Välkommen till Squeezebox I'm running Centos 3.1 (essentially RedHat Enterprise), and I'm on version 5.3.1 of SlimServer. Heeelllppppp!!!!!! Many thanks, Jim
maybe its WELCOME_TO_SLIMSERVER in 5.3.1 as well, i can't rememeber. also, it might be due to browser caching, or html caching on the part of the server. go into server settings, performance, and turn off html caching. refresh the browser and then you can turn it back on. I've tested the change to slimserver-strings.txt myself and it does work, so keep trying. it'll get there :)
any luck jim?
Nope, still can't get it to work. Most likely something I'm doing/not doing. I'm running on Linux (CentOs 3.3, otherwise known as RHEL 3) and I'm now using version 5.4.0 of Squeeze. My strings.txt file is in /usr/local/slimserver, and so that is where I've created my slimserver-strings.txt file. The permissions on the two files are the same. I notice that the /usr/local/slimserver/HTML/Default/index.html file contains: <title>[% "WELCOME_TO_SQUEEZEBOX" | string %]</title> I also notice that the /usr/local/slimserver/slimserver.pl file contains: Slim::Utils::Strings::init(catdir($Bin,'strings.txt'), "EN"); but I can't find anywhere which references slimserver-strings.txt So, I'm not realy sure where to look next, as I'm not familiar with the internals of the HTTP interface. Jim
I definitely recommend updating to 5.4, that will likely make this easier.
for future reference: from Slim\Utils\Strings.pm in 6.x sub stringsFiles { my @stringsFiles = qw( strings.txt .slimp3-strings.txt slimp3-strings.txt .slimserver-strings.txt slimserver-strings.txt .custom-strings.txt custom-strings.txt ); return @stringsFiles; } Tested a change of string using slimserver-strings.txt with 6.x and it works now.