hab endlich ne lösung gefunden
der entscheidende hinweis steht hier:
http://forum.subsonic.org/forum/viewtopic.php?f=6&t=5887&p=23777#p23777
EDITH sagt, für den fall, dass der obige Link mal nicht mehr gehen sollte:
Rich (BBCode):
Ha, I wished I would have had searched the internet before I started my own installation on my DS710. Your guide would have helped me a lot.
I would like to add some extra modifications so that Subsonic displays weird (non-standard) characters too. (My Chinese source: http://shin3.blogbus.com/logs/50902661.html)
To start you need the archive gcc420_glibc236_pineview.tgz which you can download here. Save it to a folder on your NAS.
Save the following as addlocale.sh and give it execution rights. Make sure you place it in the same folder on your NAS as where you saved the file gcc420_glibc236_pineview.tgz
Code: Select all
#!/bin/sh
echo Decompress the tarball...
gunzip -c gcc420_glibc236_pineview.tgz | tar -xvf -
echo Adding missing binaries to the system
cp i686-linux-gnu/i686-linux-gnu/bin/locale /opt/bin/
cp i686-linux-gnu/i686-linux-gnu/bin/localedef /opt/bin/
echo Copy the needed localization info
cp -R i686-linux-gnu/i686-linux-gnu/share/i18n /usr/share
echo Making sure the locale directory exists \(Otherwise an error occurs\)
mkdir /usr/lib/locale
echo Creating the en_US.UTF-8 locale
localedef -c -f UTF-8 -i en_US en_US.UTF-8
echo The list below should contain en_US.UTF-8
locale -a
execute the addlocale.sh from within the folder where the tarball resides.
Code: Select all
./addlocale.sh
The script does display a list of installed locales after it's ready. Make sure it contains en_US.utf8.
After the script has completed you need to add the following to the subsonic.sh file to make the locale work. I added it after the first comment block.
Code: Select all
export LANG=en_US.UTF-8
ab dieser stelle
Rich (BBCode):
echo Creating the en_US.UTF-8 locale
localedef -c -f UTF-8 -i en_US en_US.UTF-8
dann ein paar anpassungen:
Rich (BBCode):
localedef -c -f UTF-8 -i de_DE de_DE.UTF-8
nun in /usr/local/etc/rc.d/SqueezeCenter.sh vor der zeile
"...get_pid()..."
die nachfolgende zeile einfügen
export LANG=de_DE.UTF-8
nun noch ein ./SqueezeCenter stop und dann ein ./SqueezeCenter start und dann nur noch freuen :D
Und JUDITH meint, ich sollte erwähnen, dass diese Anleitung - OHNE Anpassungen - nur für Intel-basierte DSen funzt, Wenn man jedoch das passende gcc-Archiv herunterlädt, sollte es auch für andere Prozessoren funzen.