You are not logged in.
I just installed the Ampache-Server on a NAS (Synology Cubestation 407).
Unfortunately i can't access all parts of den linux-installation. I think I should change something to get the language-change working but can't do this.
So, is there any possibility to manually config the language settings directly in the php script (Just need the German-Language)?
Thanks in advance for your ideas.
Pio435
Offline
The language preferences are in the Ampache interface under Preferences -> Interface -> Language if it still doesn't work then you would need to install some additional software on your linux installation.
Offline
vollmerk wrote:
The language preferences are in the Ampache interface under Preferences -> Interface -> Language if it still doesn't work then you would need to install some additional software on your linux installation.
Seems, that my Question was a little misunderstanding (my english ...) ...
I know wehre to select the german language, but the ampache-interface doesn't change anything. So i think, that somewehre in the installation something doesn't work to get de german language out of the sql table ... an i hoped, that i can manually configere it directly in a part of one of the php-scripts ....
Pio435
Offline
Hi,
same Problem here. I've tried the installation four times on two different servers. But when I try to change the language to german, nothing happened!!
But when I install AMPACHE at home on my Servers, everything is fine and all works.
At home I use one Linux SuSE 10.3 Root and one Debian 4.0 Root.
On the "normal" Servers I have Debian 4.0 installed!
The Configurations are the same.
Know my question:
What additional Software I have to install exactly? Please help me and sorry for my bad english!
Greets
Pikeman
Offline
Hi Pikeman and Pio435.
First sorry for my english (but it's a way to become better ). Don't be afraid to correct me
I had the same problem (but for french language) and I solved it by activating the "gettext extension" in the PHP config file.
But I don't know if you can change the config of PHP in a Synology NAS...
We have one at work, but I never look into it so as to know it (we use it only as NAS server and so disable the web function...).
I hope that it could help you...
By the way, is somebody knows how we can modify the translation file ? (with notepad ?) I'm a newbie in it... because in the 3.4 version, several words are not translated in french...
Offline
Hi,
I've tried to active it in the php.ini
No way. Still the same!
By the way: There was no entry in the php.ini for this extension!
I did it manually.
I don't know if this is OK. What should I write exactly in the php.ini to activate?
And what packege have to be installed under Debian 4.0?
I use apt-get install ... to install!
Thx for help.
Pikeman
Offline
Hi,
I'm going to do as much as I can.
First you must know that I'm a windows user (yes, it is possible... ) so I'm going to try but be indulgent
In the php.ini, you must add a line with :
extension=gettext.so (-> extension=php_gettext.dll under windows)
Then, so as to install the extension, if I'm right, it is something like that :
sudo apt-get install php5.x-gettext (-> where the "x" is your version of PHP).
I think that you also have to rebuilt with the next command line
"./configure ..... --with-gettext..."
If all is right, you should solve your problem (heu... I hope ).
Offline
You have to have gettext installed and the correct charset installed (depends on language) without these two things the translations will not work.
Offline
Hi,
now I've tried everything!
And when I say: apt-get install gettext
the System says, the newest version is installed!
The Charset should also have been installed.
The only thing I can't find on the system is the gettext.so
I really don't know what's the problem. What else can I do??
Thx for help guys!
Greets
Pikeman
Offline
Hi all,
I'm thinking to another thing...
When I installed Ampache on my server, I also had to check the config of MySQL ("my.ini" under windows or "my.cnf" under Linux).
The "strict mode" was enabled and I had to remove it so as to have a correct install.
Maybe you can look at it...
Last edited by eagle (2008-03-04 11:12:48)
Offline
Make sure you have the correct charsets installed....
Offline
Hi,
the charset is installed!
In the german language we use some characters like ä,ö,ü and so on.
On other Sites, these characters are displayed correct.
By the way, what charset do I need for AMPACHE and the german language plugin??
Thx for help.
Greets
Pikeman
Offline
I have the same problem i have installed ampache on a debian etch server
But when i change the language in ampache nothing happens.
When i test with a phpinfo file it says that gettext support is enabled
gettext
GetText Support enabled
When i change the language i see this error in ampache debug log
2008-11-13 19:09:29 { raymon } ( error ) - [Runtime Error] mysql_num_rows(): supplied argument is not a valid MySQL result resource on line 122 in /var/www/ampache.sitename.nl/lib/class/dba.class.php
Offline
Hi,
Only UTF-8.
Is what you cannot display the translated word? Or is it the word inputted into databases, such as a tag?
If it is translated word, please ensure that ampatch.cfg.php and httpd.conf are set up correctly.
ampache.cfg.php
site_charset = UTF-8
httpd.conf
IndexOptions Charset=UTF-8
Note: httpd version > 2.0.6x, IndexOptions Charset=UTF-8 is required in httpd.conf.
If it is id3tags into database, it is ampache's bug for multi byte charcters.
Pikeman wrote:
Hi,
the charset is installed!
In the german language we use some characters like ä,ö,ü and so on.
On other Sites, these characters are displayed correct.
By the way, what charset do I need for AMPACHE and the german language plugin??
Thx for help.
Greets
Pikeman
Offline